Ren Kuo has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84000?usp=email )
Change subject: mb/google/brox/var/jubilant: Enable storage config on unprovisioned fw_config ......................................................................
mb/google/brox/var/jubilant: Enable storage config on unprovisioned fw_config
Add the condition of unprovisioned fw_config to enable the all storages config.
BUG=None TEST=Build jubilant firmware and boot to OS when fw_config is unprovisioned.
Change-Id: I19582f72e4ab4062b89f794d6d905f47747f85ff Signed-off-by: Ren Kuo ren.kuo@quanta.corp-partner.google.com --- M src/mainboard/google/brox/variants/jubilant/variant.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/84000/1
diff --git a/src/mainboard/google/brox/variants/jubilant/variant.c b/src/mainboard/google/brox/variants/jubilant/variant.c index c6b2626..0f4b63c 100644 --- a/src/mainboard/google/brox/variants/jubilant/variant.c +++ b/src/mainboard/google/brox/variants/jubilant/variant.c @@ -31,8 +31,8 @@ struct device *ish = DEV_PTR(ish); struct device *nvme_rp = DEV_PTR(pcie4_0);
- if (fw_config_probe(FW_CONFIG(STORAGE, STORAGE_UNKNOWN))) { - printk(BIOS_INFO, "fw_config storage is unknown so enable all storage devices.\n"); + if ((!fw_config_is_provisioned()) || fw_config_probe(FW_CONFIG(STORAGE, STORAGE_UNKNOWN))) { + printk(BIOS_INFO, "fw_config is unprovisioned or storage is unknow so enable all storages config.\n"); return; }