summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-03-24 01:17:10 +0100
committerArthur Heymans <arthur@aheymans.xyz>2022-05-13 11:00:21 +0000
commit990ef56d1bab37ebf9e0d1ed24e96d7747451824 (patch)
treef4f1b64d07b385852f8dd08d881e41c78c86d55c
parent10c43d8c37275cd8e63a0f3cac3fecdffc8af336 (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>
-rw-r--r--src/soc/intel/denverton_ns/chip.c6
-rw-r--r--src/soc/intel/denverton_ns/romstage.c6
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 =