summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quanta.corp-partner.google.com>2021-09-16 17:20:40 +0600
committerFelix Held <felix-coreboot@felixheld.de>2021-09-20 12:16:04 +0000
commitf0227ee2a88aafc460d0137f9d2e61bd813aea0e (patch)
tree343b4d35e6ede7e86bf2cfea534e9bfdd1458f58 /src/mainboard
parent99204bbda6f2bc23676b491d6d3a9dd4f9e52c5b (diff)
mb/google/brya/var/redrix: Get wifi sar name
Add get_wifi_sar_cbfs_file_name() to return the wifi SAR file name BUG=None TEST=FW_NAME=redrix emerge-brya coreboot Change-Id: I87e7a30619fd93d0eae692c4c540c29850ff6721 Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57710 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/variants/redrix/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/redrix/variant.c8
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/redrix/Makefile.inc b/src/mainboard/google/brya/variants/redrix/Makefile.inc
index f2a624c0e8..acf9bada81 100644
--- a/src/mainboard/google/brya/variants/redrix/Makefile.inc
+++ b/src/mainboard/google/brya/variants/redrix/Makefile.inc
@@ -4,3 +4,5 @@ bootblock-y += gpio.c
ramstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
+
+ramstage-y += variant.c
diff --git a/src/mainboard/google/brya/variants/redrix/variant.c b/src/mainboard/google/brya/variants/redrix/variant.c
new file mode 100644
index 0000000000..6a79780f6e
--- /dev/null
+++ b/src/mainboard/google/brya/variants/redrix/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";
+}