soc/intel/denverton_ns: Remove always false statement

This fixes building with clang.

Change-Id: I7405f031298a35589e435e888af911d916662d23
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63069
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans 2022-03-24 01:17:10 +01:00
parent 10c43d8c37
commit 990ef56d1b
2 changed files with 0 additions and 12 deletions

View File

@ -159,12 +159,6 @@ static void soc_silicon_init_params(FSPS_UPD *silupd)
if (get_fiamux_hsio_info(supported_hsio_lanes, num, &hsio_config)) if (get_fiamux_hsio_info(supported_hsio_lanes, num, &hsio_config))
die("HSIO Configuration is invalid, please correct it!"); die("HSIO Configuration is invalid, please correct it!");
/* Check the requested FIA MUX Configuration */
if (!(&hsio_config->FiaConfig)) {
die("Requested FIA MUX Configuration is invalid,"
" please correct it!");
}
/* Initialize PCIE Bifurcation & HSIO configuration */ /* Initialize PCIE Bifurcation & HSIO configuration */
silupd->FspsConfig.PcdBifurcationPcie0 = hsio_config->PcieBifCtr[0]; silupd->FspsConfig.PcdBifurcationPcie0 = hsio_config->PcieBifCtr[0];
silupd->FspsConfig.PcdBifurcationPcie1 = hsio_config->PcieBifCtr[1]; silupd->FspsConfig.PcdBifurcationPcie1 = hsio_config->PcieBifCtr[1];

View File

@ -158,12 +158,6 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg)
die("HSIO Configuration is invalid, please correct " die("HSIO Configuration is invalid, please correct "
"it!"); "it!");
/* Check the requested FIA MUX Configuration */
if (!(&hsio_config->FiaConfig)) {
die("Requested FIA MUX Configuration is invalid,"
" please correct it!");
}
mupd->FspmConfig.PcdHsioLanesNumber = mupd->FspmConfig.PcdHsioLanesNumber =
(uint32_t)hsio_config->NumLanesSupported; (uint32_t)hsio_config->NumLanesSupported;
mupd->FspmConfig.PcdFiaMuxConfigPtr = mupd->FspmConfig.PcdFiaMuxConfigPtr =