From 527d73f1bf44a5f306a3afc55b512f7bad0f032a Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Tue, 22 Feb 2022 14:30:28 -0500 Subject: [PATCH] mb/amd/chausie/Kconfig: Add EC FW to RO_REGION_ONLY Include chausie EC and EFS only in the RO region when building with vboot. Without this, the EC is also added to the FW_MAIN_A and FW_MAIN_B regions. Change-Id: I78de8bd639232b9fb6d775b77ecd892f28514614 Signed-off-by: Fred Reitberger Reviewed-on: https://review.coreboot.org/c/coreboot/+/62274 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/amd/chausie/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mainboard/amd/chausie/Kconfig b/src/mainboard/amd/chausie/Kconfig index 31bb069003..e3e079ab4d 100644 --- a/src/mainboard/amd/chausie/Kconfig +++ b/src/mainboard/amd/chausie/Kconfig @@ -66,6 +66,13 @@ config VBOOT_VBNV_OFFSET hex default 0x2A +config RO_REGION_ONLY + string + depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A + # Add the EFS and EC to the RO region only + # This is a chausie-specific override of soc/amd/sabrina/Kconfig + default "apu/amdfw apu/ecfw" + config CHROMEOS # Use default libpayload config select LP_DEFCONFIG_OVERRIDE if PAYLOAD_DEPTHCHARGE