summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants
diff options
context:
space:
mode:
authorKevin Chang <kevin.chang@lcfc.corp-partner.google.com>2022-02-07 15:23:04 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-02-08 21:52:05 +0000
commit5dff66bfd3388ed521720c1141bc24bbc7aea3d4 (patch)
tree1f3ae5a59238ab0365e6ffee5417de65610907ea /src/mainboard/google/brya/variants
parent9354307157c88a1972bb77b020f40983d36fd9cc (diff)
mb/google/brya/var/taeko: Add WiFi SAR table for taeko
Add WiFi SAR table for taeko. BUG=b:212405459 TEST=build FW and checked SAR table can load by WiFi driver. Signed-off-by: Kevin Chang <kevin.chang@lcfc.corp-partner.google.com> Change-Id: I061dc798ae7177d05bc50648cfda46a3eec2c912 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61665 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r--src/mainboard/google/brya/variants/taeko/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/taeko/variant.c8
-rw-r--r--src/mainboard/google/brya/variants/taeko4es/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/taeko4es/variant.c8
4 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/taeko/Makefile.inc b/src/mainboard/google/brya/variants/taeko/Makefile.inc
index c61f75a647..396e5be222 100644
--- a/src/mainboard/google/brya/variants/taeko/Makefile.inc
+++ b/src/mainboard/google/brya/variants/taeko/Makefile.inc
@@ -7,3 +7,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/taeko/variant.c b/src/mainboard/google/brya/variants/taeko/variant.c
new file mode 100644
index 0000000000..6a79780f6e
--- /dev/null
+++ b/src/mainboard/google/brya/variants/taeko/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";
+}
diff --git a/src/mainboard/google/brya/variants/taeko4es/Makefile.inc b/src/mainboard/google/brya/variants/taeko4es/Makefile.inc
index c61f75a647..396e5be222 100644
--- a/src/mainboard/google/brya/variants/taeko4es/Makefile.inc
+++ b/src/mainboard/google/brya/variants/taeko4es/Makefile.inc
@@ -7,3 +7,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/taeko4es/variant.c b/src/mainboard/google/brya/variants/taeko4es/variant.c
new file mode 100644
index 0000000000..6a79780f6e
--- /dev/null
+++ b/src/mainboard/google/brya/variants/taeko4es/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";
+}