diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-03-24 01:17:10 +0100 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2022-05-13 11:00:21 +0000 |
commit | 990ef56d1bab37ebf9e0d1ed24e96d7747451824 (patch) | |
tree | f4f1b64d07b385852f8dd08d881e41c78c86d55c /src | |
parent | 10c43d8c37275cd8e63a0f3cac3fecdffc8af336 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/denverton_ns/chip.c | 6 | ||||
-rw-r--r-- | src/soc/intel/denverton_ns/romstage.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/soc/intel/denverton_ns/chip.c b/src/soc/intel/denverton_ns/chip.c index 7381b068e6..39a6c80d64 100644 --- a/src/soc/intel/denverton_ns/chip.c +++ b/src/soc/intel/denverton_ns/chip.c @@ -159,12 +159,6 @@ static void soc_silicon_init_params(FSPS_UPD *silupd) if (get_fiamux_hsio_info(supported_hsio_lanes, num, &hsio_config)) 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 */ silupd->FspsConfig.PcdBifurcationPcie0 = hsio_config->PcieBifCtr[0]; silupd->FspsConfig.PcdBifurcationPcie1 = hsio_config->PcieBifCtr[1]; diff --git a/src/soc/intel/denverton_ns/romstage.c b/src/soc/intel/denverton_ns/romstage.c index c7d20931f4..2f3a5cc1e7 100644 --- a/src/soc/intel/denverton_ns/romstage.c +++ b/src/soc/intel/denverton_ns/romstage.c @@ -158,12 +158,6 @@ static void soc_memory_init_params(FSP_M_CONFIG *m_cfg) 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!"); - } - mupd->FspmConfig.PcdHsioLanesNumber = (uint32_t)hsio_config->NumLanesSupported; mupd->FspmConfig.PcdFiaMuxConfigPtr = |