From 578a79d50037ab86db88e90e0c92d6a24d5be019 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Wed, 6 Dec 2017 16:27:04 -0700 Subject: soc/amd/stoneyridge: Add RO_REGION_ONLY We only need the apu firmware in the RO region when building for ChromeOS. Adding it to the RW regions is a waste of space. BUG=b:70027919 TEST=Build kahlee and use cbfstool to check for "apu/amdfw" sections. Change-Id: Ieafe4a5ec4a5e3177e4e23fcf42afa2626a0b19f Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/22766 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Aaron Durbin --- src/soc/amd/stoneyridge/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig index 3ca0e3982b..fce3857a95 100644 --- a/src/soc/amd/stoneyridge/Kconfig +++ b/src/soc/amd/stoneyridge/Kconfig @@ -357,4 +357,9 @@ config DIMM_SPD_SIZE int default 512 # DDR4 +config RO_REGION_ONLY + string + depends on CHROMEOS + default "apu/amdfw" + endif # SOC_AMD_STONEYRIDGE_FP4 || SOC_AMD_STONEYRIDGE_FT4 -- cgit v1.2.3