From be6787a55e34c3aa9cd73652f24e332cc7510541 Mon Sep 17 00:00:00 2001 From: xuxinxiong Date: Mon, 19 May 2025 16:57:53 +0800 Subject: [PATCH] mb/google/skywalker: Add storage types to fw_config Use the storage type from fw_config to determine which types of storage need to be set up in the payload. BUG=b:379008996 BRANCH=none TEST=input "cbi set 6 0x40000000 4" in ec console, and see the following log: fw_config match found: STORAGE=STORAGE_UFS2X storage_setup: eMMC: no, UFS: yes Signed-off-by: Vince Liu Change-Id: Ieada3c56b0f69cc1ea3dab4e64641bfc2ba2a0fe Reviewed-on: https://review.coreboot.org/c/coreboot/+/87923 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) Reviewed-by: Yidi Lin --- src/mainboard/google/skywalker/devicetree.cb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mainboard/google/skywalker/devicetree.cb b/src/mainboard/google/skywalker/devicetree.cb index 92f9c5d9e3..16f2a688ba 100644 --- a/src/mainboard/google/skywalker/devicetree.cb +++ b/src/mainboard/google/skywalker/devicetree.cb @@ -10,4 +10,10 @@ fw_config option AMP_RT1019 1 option AMP_ALC5645 3 end + + field STORAGE 30 31 + option STORAGE_UFS3X 0 + option STORAGE_UFS2X 1 + option STORAGE_EMMC 2 + end end