Fred Reitberger has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74249 )
Change subject: soc/amd/phoenix/Kconfig: Prevent changes to AMD_FWM_POSITION_INDEX ......................................................................
soc/amd/phoenix/Kconfig: Prevent changes to AMD_FWM_POSITION_INDEX
The phoenix SoC does not support multiple EFS locations. Set the default to the only valid value and prevent mainboard overrides.
TEST=build birman-phoenix
Signed-off-by: Fred Reitberger reitbergerfred@gmail.com Change-Id: I0f720dbadf2d28a3c39daa4bd653a407be4893d0 --- M src/soc/amd/phoenix/Kconfig 1 file changed, 17 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/74249/1
diff --git a/src/soc/amd/phoenix/Kconfig b/src/soc/amd/phoenix/Kconfig index 5d3adec..6c24933 100644 --- a/src/soc/amd/phoenix/Kconfig +++ b/src/soc/amd/phoenix/Kconfig @@ -303,14 +303,9 @@ menu "PSP Configuration Options"
config AMD_FWM_POSITION_INDEX - int "Firmware Directory Table location (0 to 5)" + int range 0 5 - default 0 if BOARD_ROMSIZE_KB_512 - default 1 if BOARD_ROMSIZE_KB_1024 - default 2 if BOARD_ROMSIZE_KB_2048 - default 3 if BOARD_ROMSIZE_KB_4096 - default 4 if BOARD_ROMSIZE_KB_8192 - default 5 if BOARD_ROMSIZE_KB_16384 + default 5 help Typically this is calculated by the ROM size, but there may be situations where you want to put the firmware directory