Attention is currently required from: Jason Glenesk, Marshall Dawson, Felix Held. Raul Rangel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52910 )
Change subject: soc/amd/common: Add Kconfig/Makefile support for common/fsp/* ......................................................................
soc/amd/common: Add Kconfig/Makefile support for common/fsp/*
This will allow us to have subdirectories in common/fsp.
BUG=b:184766519 TEST=Build guybrush
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: Ib3497791e1963867c8fe06a42c111e5d0503ade1 --- M src/soc/amd/common/Kconfig.common M src/soc/amd/common/fsp/Makefile.inc 2 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/52910/1
diff --git a/src/soc/amd/common/Kconfig.common b/src/soc/amd/common/Kconfig.common index fa1d14a..8050881 100644 --- a/src/soc/amd/common/Kconfig.common +++ b/src/soc/amd/common/Kconfig.common @@ -10,4 +10,10 @@
source "src/soc/amd/common/block/*/Kconfig"
+if PLATFORM_USES_FSP2_0 + +source "src/soc/amd/common/fsp/*/Kconfig" + +endif # PLATFORM_USES_FSP2_0 + endif # SOC_AMD_COMMON diff --git a/src/soc/amd/common/fsp/Makefile.inc b/src/soc/amd/common/fsp/Makefile.inc index 5523876..8ec64cb 100644 --- a/src/soc/amd/common/fsp/Makefile.inc +++ b/src/soc/amd/common/fsp/Makefile.inc @@ -1,4 +1,9 @@ ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y) romstage-y += fsp_reset.c ramstage-y += fsp_reset.c + +subdirs-y += ./* + +CPPFLAGS_common += -I$(src)/soc/amd/common/block/fsp/include/ + endif # CONFIG_PLATFORM_USES_FSP2_0