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>
This commit is contained in:
Matt DeVillier 2022-10-04 16:34:21 -05:00 committed by Martin Roth
parent 660d1eea14
commit 1e54a1861c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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