From 60d9121073e28c8457ba38e34a0dd13054b29ea2 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Mon, 19 Aug 2024 18:41:31 -0600 Subject: mb/google/brox: Enable storage devices on unprovisioned fw_config Storage devices are very critical to boot to OS. When probe list is defined for storage devices, all of them get disabled when fw_config is unprovisioned - a typical situation in the factory. Fix this by configuring the storage devices in device/override tree to probe and enable them when fw_config is unprovisioned. BUG=None TEST=Build Brox firmware and boot to OS when fw_config is unprovisioned. Change-Id: I0537f7d1d83293b9b3408f0aadf11fa2e7908163 Signed-off-by: Karthikeyan Ramasubramanian Reviewed-on: https://review.coreboot.org/c/coreboot/+/83984 Reviewed-by: Eric Lai Reviewed-by: Jon Murphy Reviewed-by: Bob Moragues Tested-by: build bot (Jenkins) --- src/mainboard/google/brox/variants/brox/overridetree.cb | 3 +++ src/mainboard/google/brox/variants/jubilant/overridetree.cb | 3 +++ src/mainboard/google/brox/variants/lotso/overridetree.cb | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/mainboard/google/brox/variants/brox/overridetree.cb b/src/mainboard/google/brox/variants/brox/overridetree.cb index 21774f88d2..18baa5d590 100644 --- a/src/mainboard/google/brox/variants/brox/overridetree.cb +++ b/src/mainboard/google/brox/variants/brox/overridetree.cb @@ -290,6 +290,7 @@ chip soc/intel/alderlake .flags = PCIE_RP_LTR | PCIE_RP_AER, }" probe STORAGE STORAGE_NVME + probe unprovisioned end device ref pcie_rp5 on register "pch_pcie_rp[PCH_RP(5)]" = "{ @@ -327,9 +328,11 @@ chip soc/intel/alderlake end probe ISH ISH_ENABLE probe STORAGE STORAGE_UFS + probe unprovisioned end device ref ufs on probe STORAGE STORAGE_UFS + probe unprovisioned end end end diff --git a/src/mainboard/google/brox/variants/jubilant/overridetree.cb b/src/mainboard/google/brox/variants/jubilant/overridetree.cb index 0613ff93f5..01ac731cf5 100644 --- a/src/mainboard/google/brox/variants/jubilant/overridetree.cb +++ b/src/mainboard/google/brox/variants/jubilant/overridetree.cb @@ -295,6 +295,7 @@ chip soc/intel/alderlake }" probe STORAGE STORAGE_NVME probe STORAGE STORAGE_UNKNOWN + probe unprovisioned end device ref pcie_rp5 on register "pch_pcie_rp[PCH_RP(5)]" = "{ @@ -333,10 +334,12 @@ chip soc/intel/alderlake end probe STORAGE STORAGE_UFS probe STORAGE STORAGE_UNKNOWN + probe unprovisioned end device ref ufs on probe STORAGE STORAGE_UFS probe STORAGE STORAGE_UNKNOWN + probe unprovisioned end device ref i2c0 on chip drivers/i2c/generic diff --git a/src/mainboard/google/brox/variants/lotso/overridetree.cb b/src/mainboard/google/brox/variants/lotso/overridetree.cb index e7c5f6b70b..6876b64de8 100644 --- a/src/mainboard/google/brox/variants/lotso/overridetree.cb +++ b/src/mainboard/google/brox/variants/lotso/overridetree.cb @@ -333,6 +333,7 @@ chip soc/intel/alderlake }" probe STORAGE STORAGE_UNKNOWN probe STORAGE STORAGE_NVME + probe unprovisioned end device ref pcie_rp5 on register "pch_pcie_rp[PCH_RP(5)]" = "{ @@ -382,10 +383,12 @@ chip soc/intel/alderlake end probe STORAGE STORAGE_UNKNOWN probe STORAGE STORAGE_UFS + probe unprovisioned end device ref ufs on probe STORAGE STORAGE_UNKNOWN probe STORAGE STORAGE_UFS + probe unprovisioned end device ref i2c0 on chip drivers/i2c/generic -- cgit v1.2.3