summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorReka Norman <rekanorman@google.com>2022-11-14 16:50:25 +1100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-15 18:56:21 +0000
commit974f7b23cbec889e4b29617d191d2c37c3a9b56f (patch)
tree0a383d6b0ff1e7a63ba13064d7ce16e7b28becae /src/mainboard/google
parent5013f7d152578cc7301242161cba7650a78eb4c1 (diff)
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>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb b/src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb
index d002db6394..24b5b70b4a 100644
--- a/src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb
+++ b/src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb
@@ -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