summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants
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/google/brya/variants
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/google/brya/variants')
-rw-r--r--src/mainboard/google/brya/variants/anraggar/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/anraggar/variant.c8
2 files changed, 10 insertions, 0 deletions
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";
+}