summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorcengjianeng <cengjianeng@huaqin.corp-partner.google.com>2023-12-18 16:15:03 +0800
committerShelley Chen <shchen@google.com>2023-12-28 17:30:59 +0000
commit9c1bf3c29aaefe4dfc1f3f402b22c91aa51afa4b (patch)
tree0507782f1395881a82deae678108fd6841624b4f /src/mainboard
parent580c166eb27a4780ece5e36f7e08e08ada217e7b (diff)
mb/google/nissa/var/anraggar: add hook for WiFi SAR table
As a preparation for WiFi SAR table addition, adding hook for it. BRANCH=nissa BUG=b:315418153 TEST=emerge-nissa coreboot Cq-Depend: chrome-internal:6790137 Change-Id: Idb200699bb8c8581b9512ec8ec9442f65f8822b3 Signed-off-by: Jianeng Ceng <cengjianeng@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79730 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/variants/anraggar/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/anraggar/variant.c8
3 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index fb62880295..be4e69466b 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -508,6 +508,7 @@ config BOARD_GOOGLE_ANRAGGAR
select DRIVERS_INTEL_MIPI_CAMERA
select HAVE_WWAN_POWER_SEQUENCE
select DRIVERS_GFX_GENERIC
+ select CHROMEOS_WIFI_SAR if CHROMEOS
if BOARD_GOOGLE_BRYA_COMMON
diff --git a/src/mainboard/google/brya/variants/anraggar/Makefile.inc b/src/mainboard/google/brya/variants/anraggar/Makefile.inc
index d38141ca24..f41cdfdb8a 100644
--- a/src/mainboard/google/brya/variants/anraggar/Makefile.inc
+++ b/src/mainboard/google/brya/variants/anraggar/Makefile.inc
@@ -4,3 +4,5 @@ bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-y += gpio.c
+
+ramstage-y += variant.c
diff --git a/src/mainboard/google/brya/variants/anraggar/variant.c b/src/mainboard/google/brya/variants/anraggar/variant.c
new file mode 100644
index 0000000000..4f44c3831c
--- /dev/null
+++ b/src/mainboard/google/brya/variants/anraggar/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_2.hex";
+}