diff options
author | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2022-10-04 16:34:21 -0500 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-10-07 21:14:31 +0000 |
commit | 1e54a1861c221a1582a43a4e5c2dd54ecc90d384 (patch) | |
tree | f34892c4528bafa5668afdabd232b8d60882d8e1 /src/soc/amd | |
parent | 660d1eea142ce650b05d4dbafaa68dd53aa801ae (diff) |
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 <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68125
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/picasso/Kconfig | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/Kconfig | 2 |
2 files changed, 2 insertions, 2 deletions
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 |