From 990ef56d1bab37ebf9e0d1ed24e96d7747451824 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 24 Mar 2022 01:17:10 +0100 Subject: soc/intel/denverton_ns: Remove always false statement This fixes building with clang. Change-Id: I7405f031298a35589e435e888af911d916662d23 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/63069 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/intel/denverton_ns/chip.c | 6 ------ src/soc/intel/denverton_ns/romstage.c | 6 ------ 2 files changed, 12 deletions(-) (limited to 'src/soc') 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 = -- cgit v1.2.3