Kevin Chang | d2c4797 | 2021-02-18 15:51:05 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <fw_config.h> |
| 4 | #include <sar.h> |
Kevin Chang | c48cf11 | 2021-04-07 15:18:25 +0800 | [diff] [blame] | 5 | #include <drivers/intel/gma/opregion.h> |
Kevin Chang | d2c4797 | 2021-02-18 15:51:05 +0800 | [diff] [blame] | 6 | |
| 7 | const char *get_wifi_sar_cbfs_filename(void) |
| 8 | { |
Eric Lai | 3c53300 | 2022-12-20 13:11:47 +0800 | [diff] [blame^] | 9 | return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID)); |
Kevin Chang | d2c4797 | 2021-02-18 15:51:05 +0800 | [diff] [blame] | 10 | } |
Kevin Chang | c48cf11 | 2021-04-07 15:18:25 +0800 | [diff] [blame] | 11 | |
| 12 | const char *mainboard_vbt_filename(void) |
| 13 | { |
| 14 | if (fw_config_probe(FW_CONFIG(OLED_SCREEN, OLED_PRESENT))) |
| 15 | return "vbt-oled.bin"; |
| 16 | return "vbt.bin"; |
| 17 | } |