diff options
author | David Wu <david_wu@quanta.corp-partner.google.com> | 2022-11-30 17:05:09 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-02 14:48:02 +0000 |
commit | 50a32650172dfedc2a6c5335af94fb2d3c7d71e6 (patch) | |
tree | a0dfad1099a824fef1dfee6ebf31ef1fcda624eb | |
parent | e98dd0aad81723c9c428e43fc396f0f413cc5a4c (diff) |
mb/google/brya/var/zydron: Add WiFi SAR table
Add WiFi SAR table for zydron.
BUG=b:260770999
TEST=build FW and checked SAR table can load by WiFi driver.
Change-Id: I8d5f966c7af3ac6d9923d4f6c851bfb340f31fab
Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70173
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r-- | src/mainboard/google/brya/Kconfig.name | 1 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/zydron/variant.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index 71ea005c7a..48e511df0c 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -294,6 +294,7 @@ config BOARD_GOOGLE_ZYDRON select DRIVERS_I2C_NAU8825 select DRIVERS_INTEL_MIPI_CAMERA select SOC_INTEL_COMMON_BLOCK_IPU + select CHROMEOS_WIFI_SAR if CHROMEOS config BOARD_GOOGLE_GLADIOS bool "-> Gladios" diff --git a/src/mainboard/google/brya/variants/zydron/variant.c b/src/mainboard/google/brya/variants/zydron/variant.c index e21ab5a91c..86c65c7ea7 100644 --- a/src/mainboard/google/brya/variants/zydron/variant.c +++ b/src/mainboard/google/brya/variants/zydron/variant.c @@ -2,8 +2,14 @@ #include <chip.h> #include <fw_config.h> +#include <sar.h> #include <baseboard/variants.h> +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} + void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config) { config->cnvi_bt_audio_offload = fw_config_probe(FW_CONFIG(AUDIO, |