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>
This commit is contained in:
parent
6e9f21f815
commit
36d50f8050
|
@ -10,4 +10,10 @@ config SOC_AMD_PI
|
||||||
|
|
||||||
source "src/soc/amd/common/block/*/Kconfig"
|
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
|
endif # SOC_AMD_COMMON
|
||||||
|
|
|
@ -2,4 +2,7 @@ ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y)
|
||||||
romstage-y += fsp_reset.c
|
romstage-y += fsp_reset.c
|
||||||
ramstage-y += fsp_reset.c
|
ramstage-y += fsp_reset.c
|
||||||
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fsp-acpi.c
|
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fsp-acpi.c
|
||||||
|
|
||||||
|
subdirs-y += ./*
|
||||||
|
|
||||||
endif # CONFIG_PLATFORM_USES_FSP2_0
|
endif # CONFIG_PLATFORM_USES_FSP2_0
|
||||||
|
|
Loading…
Reference in New Issue