summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2022-11-30 17:05:09 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-12-02 14:48:02 +0000
commit50a32650172dfedc2a6c5335af94fb2d3c7d71e6 (patch)
treea0dfad1099a824fef1dfee6ebf31ef1fcda624eb /src/mainboard/google/brya
parente98dd0aad81723c9c428e43fc396f0f413cc5a4c (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>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/zydron/variant.c6
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,