1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/variants.h>
4 #include <console/console.h>
5 #include <device/device.h>
10 const char *get_wifi_sar_cbfs_filename(void)
12 return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID
));
15 void variant_devtree_update(void)
17 struct device
*emmc
= DEV_PTR(emmc
);
18 struct device
*nvme_rp
= DEV_PTR(pcie_rp9
);
20 if (!fw_config_is_provisioned()) {
21 printk(BIOS_INFO
, "fw_config unprovisioned so enable all storage devices\n");
25 if (!fw_config_probe(FW_CONFIG(STORAGE
, STORAGE_EMMC
))) {
26 printk(BIOS_INFO
, "eMMC disabled by fw_config\n");
30 if (!fw_config_probe(FW_CONFIG(STORAGE
, STORAGE_NVME
))) {
31 printk(BIOS_INFO
, "NVMe disabled by fw_config\n");