Felix Held has submitted this change. ( 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52910 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Held felix-coreboot@felixheld.de --- M src/soc/amd/common/Kconfig.common M src/soc/amd/common/fsp/Makefile.inc 2 files changed, 9 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved
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 3ba6ea5..ff25eba 100644 --- a/src/soc/amd/common/fsp/Makefile.inc +++ b/src/soc/amd/common/fsp/Makefile.inc @@ -2,4 +2,7 @@ romstage-y += fsp_reset.c ramstage-y += fsp_reset.c ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fsp-acpi.c + +subdirs-y += ./* + endif # CONFIG_PLATFORM_USES_FSP2_0