summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brox/variants/jubilant/variant.c
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2024-08-23 11:21:50 -0600
committerKarthik Ramasubramanian <kramasub@google.com>2024-09-05 13:33:21 +0000
commit3cb75c50b8274dc6ff11be521acd61a2184ba666 (patch)
treeeb1efd2d34cfcb40759ae3b42b97c4d9a597527b /src/mainboard/google/brox/variants/jubilant/variant.c
parent1ef8da2f5bc36c5a9276e25d5ff0f7ce4b6a5d19 (diff)
mb/google/brox/var/jubilant: Remove STORAGE_UNKNOWN fw_config option
With `probe unprovisioned` fw_config rule, there is no need to define an explicit STORAGE_UNKNOWN option. Hence remove it. BUG=None TEST=Build Jubilant FW image. Change-Id: I4f6ace4b39a1ee0b63486d3872b20c8da719ae4a Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84095 Reviewed-by: Bob Moragues <moragues@google.com> Reviewed-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brox/variants/jubilant/variant.c')
-rw-r--r--src/mainboard/google/brox/variants/jubilant/variant.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mainboard/google/brox/variants/jubilant/variant.c b/src/mainboard/google/brox/variants/jubilant/variant.c
index 4b214aace6..6cbfe19dfe 100644
--- a/src/mainboard/google/brox/variants/jubilant/variant.c
+++ b/src/mainboard/google/brox/variants/jubilant/variant.c
@@ -24,26 +24,3 @@ const char *get_wifi_sar_cbfs_filename(void)
{
return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_BT));
}
-
-void variant_devtree_update(void)
-{
- struct device *ufs = DEV_PTR(ufs);
- struct device *ish = DEV_PTR(ish);
- struct device *nvme_rp = DEV_PTR(pcie4_0);
-
- if (fw_config_probe(FW_CONFIG(STORAGE, STORAGE_UNKNOWN)) || (!fw_config_is_provisioned())) {
- printk(BIOS_INFO, "fw_config is unprovisioned or storage is unknown so enable all storage's configs.\n");
- return;
- }
-
- if (!fw_config_probe(FW_CONFIG(STORAGE, STORAGE_NVME))) {
- printk(BIOS_INFO, "NVMe disabled by fw_config.\n");
- nvme_rp->enabled = 0;
- }
-
- if (!fw_config_probe(FW_CONFIG(STORAGE, STORAGE_UFS))) {
- printk(BIOS_INFO, "UFS disabled by fw_config.\n");
- ufs->enabled = 0;
- ish->enabled = 0;
- }
-}