Attention is currently required from: Fred Reitberger, Jason Glenesk, Matt DeVillier.
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80271?usp=email )
Change subject: soc/amd/phoenix/root_complex: make read_fsp_resources call conditional ......................................................................
soc/amd/phoenix/root_complex: make read_fsp_resources call conditional
Only call read_fsp_resources if PLATFORM_USES_FSP2_0 is selected in Kconfig.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: Ic63e0904ad04dbecfac1be4d59abbb8d4f9f11d0 --- M src/soc/amd/phoenix/root_complex.c 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/80271/1
diff --git a/src/soc/amd/phoenix/root_complex.c b/src/soc/amd/phoenix/root_complex.c index 1394b2c..4a657f8 100644 --- a/src/soc/amd/phoenix/root_complex.c +++ b/src/soc/amd/phoenix/root_complex.c @@ -150,7 +150,8 @@ /* Reserve fixed IOMMU MMIO region */ mmio_range(dev, (*idx)++, IOMMU_RESERVED_MMIO_BASE, IOMMU_RESERVED_MMIO_SIZE);
- read_fsp_resources(dev, idx); + if (CONFIG(PLATFORM_USES_FSP2_0)) + read_fsp_resources(dev, idx); }
static void root_complex_init(struct device *dev)