From 26d7303f0137285ae390f1e3204ae4916d0f1052 Mon Sep 17 00:00:00 2001 From: Jamie Chen Date: Thu, 19 Jan 2023 16:42:07 +0800 Subject: mb/google/brya/var/omnigul: Modify NVMe and UFS Storage support 1. Add fw_config:STORAGE_UFS & STORAGE_NVME to switch storage. 2. rp11 off change to on. BUG:b:263846075 TEST=FW_NAME=omnigul emerge-brya coreboot Change-Id: I35c02ac9cbb8442d7b4aae57f6c7b576b2b5f77b Signed-off-by: Jamie Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/72090 Reviewed-by: Dtrain Hsu Reviewed-by: Subrata Banik Reviewed-by: Ian Feng Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- .../google/brya/variants/omnigul/overridetree.cb | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/brya/variants/omnigul/overridetree.cb') diff --git a/src/mainboard/google/brya/variants/omnigul/overridetree.cb b/src/mainboard/google/brya/variants/omnigul/overridetree.cb index 79e948d8dd..d243668455 100644 --- a/src/mainboard/google/brya/variants/omnigul/overridetree.cb +++ b/src/mainboard/google/brya/variants/omnigul/overridetree.cb @@ -1,3 +1,11 @@ +fw_config + field STORAGE 2 3 + option STORAGE_UNKNOWN 0 + option STORAGE_UFS 1 + option STORAGE_NVME 2 + end +end + chip soc/intel/alderlake register "sagv" = "SaGv_Enabled" @@ -109,14 +117,27 @@ chip soc/intel/alderlake end end #I2C5 device ref pcie_rp8 off end - device ref pcie_rp9 off end + device ref pcie_rp11 on + register "pch_pcie_rp[PCH_RP(11)]" = "{ + .clk_src = 1, + .clk_req = 1, + .flags = PCIE_RP_LTR | PCIE_RP_AER, + }" + probe STORAGE STORAGE_UNKNOWN + probe STORAGE STORAGE_NVME + end device ref ish on chip drivers/intel/ish register "add_acpi_dma_property" = "true" device generic 0 on end end + probe STORAGE STORAGE_UNKNOWN + probe STORAGE STORAGE_UFS + end + device ref ufs on + probe STORAGE STORAGE_UNKNOWN + probe STORAGE STORAGE_UFS end - device ref ufs on end device ref tbt_pcie_rp0 off end device ref tbt_pcie_rp1 off end device ref tbt_pcie_rp2 off end -- cgit v1.2.3