summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2022-10-04 16:34:21 -0500
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-07 21:14:31 +0000
commit1e54a1861c221a1582a43a4e5c2dd54ecc90d384 (patch)
treef34892c4528bafa5668afdabd232b8d60882d8e1 /src
parent660d1eea142ce650b05d4dbafaa68dd53aa801ae (diff)
downloadcoreboot-1e54a1861c221a1582a43a4e5c2dd54ecc90d384.tar.gz
coreboot-1e54a1861c221a1582a43a4e5c2dd54ecc90d384.tar.bz2
coreboot-1e54a1861c221a1582a43a4e5c2dd54ecc90d384.zip
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')
-rw-r--r--src/soc/amd/picasso/Kconfig2
-rw-r--r--src/soc/amd/stoneyridge/Kconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig
index 30ca13237c0f..6b8b910bf634 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 2517e4482910..26dca89fd2fb 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