mb/google/nissa: Add SD_BOOT fw_config

Some nissa devices want to disable boot from SD card. Since nissa has a
single shared depthcharge target, add a program-wide fw_config to allow
disabling it.

BUG=b:253003881
TEST=With depthcharge change, set SD_BOOT_DISABLE on nivviks and check
SD card is not initialised in depthcharge.

Change-Id: I1a3a533e4e74e48d9ce4a9678b812cb62ce2066b
Signed-off-by: Reka Norman <rekanorman@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69541
Reviewed-by: Kangheui Won <khwon@chromium.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Reka Norman 2022-11-14 16:50:25 +11:00 committed by Felix Held
parent 5013f7d152
commit 974f7b23cb
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
fw_config
field SD_BOOT 29
option SD_BOOT_ENABLE 0
option SD_BOOT_DISABLE 1
end
field STORAGE 30 31
option STORAGE_EMMC 0
option STORAGE_NVME 1