From 50a32650172dfedc2a6c5335af94fb2d3c7d71e6 Mon Sep 17 00:00:00 2001 From: David Wu Date: Wed, 30 Nov 2022 17:05:09 +0800 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70173 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/mainboard/google/brya/Kconfig.name | 1 + src/mainboard/google/brya/variants/zydron/variant.c | 6 ++++++ 2 files changed, 7 insertions(+) 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 #include +#include #include +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,