From 974f7b23cbec889e4b29617d191d2c37c3a9b56f Mon Sep 17 00:00:00 2001 From: Reka Norman Date: Mon, 14 Nov 2022 16:50:25 +1100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69541 Reviewed-by: Kangheui Won Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/variants/baseboard/nissa/devicetree.cb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/google/brya/variants') 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 -- cgit v1.2.3