From 1e54a1861c221a1582a43a4e5c2dd54ecc90d384 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Tue, 4 Oct 2022 16:34:21 -0500 Subject: soc/amd/{stoney,picasso}/Kconfig: Fix guarding of amdfw apu/amdfw should be restricted to the RO region only when building with VBOOT + any RW region (RW_A or RW_A + RW_B); it is not tied to ChromeOS in any way. Fix guarding to match newer AMD platforms (eg, CZN/MDN). TEST=build google/zork without CHROMEOS, with VBOOT_SLOTS_RW_A Change-Id: I32d7fa7a4b3d41107cfdba96128a4a75f7066c6f Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/68125 Reviewed-by: Fred Reitberger Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/soc/amd/picasso/Kconfig | 2 +- src/soc/amd/stoneyridge/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/amd') diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig index 30ca13237c..6b8b910bf6 100644 --- a/src/soc/amd/picasso/Kconfig +++ b/src/soc/amd/picasso/Kconfig @@ -330,7 +330,7 @@ config CHROMEOS config RO_REGION_ONLY string - depends on CHROMEOS + depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A default "apu/amdfw" config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig index 2517e44829..26dca89fd2 100644 --- a/src/soc/amd/stoneyridge/Kconfig +++ b/src/soc/amd/stoneyridge/Kconfig @@ -357,7 +357,7 @@ config DIMM_SPD_SIZE config RO_REGION_ONLY string - depends on CHROMEOS + depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A default "apu/amdfw" config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ -- cgit v1.2.3