Jian Tong | 0e0bc61 | 2024-06-12 14:28:46 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <assert.h> |
| 4 | #include <baseboard/variants.h> |
| 5 | #include <chip.h> |
| 6 | #include <fw_config.h> |
| 7 | #include <sar.h> |
| 8 | |
| 9 | void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config) |
| 10 | { |
| 11 | if (fw_config_probe(FW_CONFIG(WIFI_BT, WIFI_CNVI_WIFI6E))) { |
| 12 | printk(BIOS_INFO, "CNVi bluetooth enabled by fw_config\n"); |
| 13 | config->cnvi_bt_core = true; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | const char *get_wifi_sar_cbfs_filename(void) |
| 18 | { |
| 19 | return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_BT)); |
| 20 | } |