summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorleo.chou <leo.chou@lcfc.corp-partner.google.com>2022-04-18 13:35:13 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-04-22 12:09:48 +0000
commit78532486965d1cdb6a6e00322584b7915b40e73b (patch)
treedd5514d790cdd993dfb2120d98012c2be91a79c3 /src/mainboard/google/brya
parent08b477eadde6a3783b2d6bc9735208e543fc70e2 (diff)
mb/google/brya/var/taniks: Add WiFi SAR table for taniks
Add WiFi SAR table for taniks. BUG=b:226690925 TEST=build FW and checked SAR table can load by WiFi driver. Signed-off-by: leo.chou <leo.chou@lcfc.corp-partner.google.com> Change-Id: I7b52f71b1fe49c02beaa48410495b81661b58fac Reviewed-on: https://review.coreboot.org/c/coreboot/+/63684 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/taniks/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/taniks/variant.c8
3 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index 66b21200a3..216803f8a4 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -159,6 +159,7 @@ config BOARD_GOOGLE_TANIKS
select DRIVERS_GENESYSLOGIC_GL9750
select DRIVERS_GENESYSLOGIC_GL9763E
select DRIVERS_GENESYSLOGIC_GL9763E_L1_MAX
+ select CHROMEOS_WIFI_SAR if CHROMEOS
config BOARD_GOOGLE_VELL
bool "-> Vell"
diff --git a/src/mainboard/google/brya/variants/taniks/Makefile.inc b/src/mainboard/google/brya/variants/taniks/Makefile.inc
index 6947beb6dd..3ee0dc9e0d 100644
--- a/src/mainboard/google/brya/variants/taniks/Makefile.inc
+++ b/src/mainboard/google/brya/variants/taniks/Makefile.inc
@@ -5,3 +5,5 @@ romstage-y += memory.c
ramstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
+
+ramstage-$(CONFIG_FW_CONFIG) += variant.c
diff --git a/src/mainboard/google/brya/variants/taniks/variant.c b/src/mainboard/google/brya/variants/taniks/variant.c
new file mode 100644
index 0000000000..6a79780f6e
--- /dev/null
+++ b/src/mainboard/google/brya/variants/taniks/variant.c
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <sar.h>
+
+const char *get_wifi_sar_cbfs_filename(void)
+{
+ return "wifi_sar_0.hex";
+}