summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorRobert Chen <robert.chen@quanta.corp-partner.google.com>2022-02-09 17:20:32 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-02-17 17:13:27 +0000
commit6c4135e636afd0c5dc21f6ef185aba02e918cf30 (patch)
treea5d495dc4d226a01516f8dd1016db61490019344 /src/mainboard
parenta7305c19e649e07053ce321fd0e8a12a0a277332 (diff)
mb/google/brya/var/vell: Add Wifi SAR for vell
Add wifi sar for vell BUG=b:218992598 TEST=emerge-brya coreboot-private-files-baseboard-brya coreboot chromeos-bootimage Change-Id: I74fddd1dbcb7019fd5fe394da291f125f0d4960f Signed-off-by: Robert Chen <robert.chen@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61761 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/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/vell/Makefile.inc1
-rw-r--r--src/mainboard/google/brya/variants/vell/variant.c8
3 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index f6fb23af70..7740bbe0d4 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -160,6 +160,7 @@ config BOARD_GOOGLE_VELL
select DRIVERS_GFX_GENERIC
select DRIVERS_INTEL_MIPI_CAMERA
select SOC_INTEL_COMMON_BLOCK_IPU
+ select CHROMEOS_WIFI_SAR if CHROMEOS
config BOARD_GOOGLE_VOLMAR
bool "-> Volmar"
diff --git a/src/mainboard/google/brya/variants/vell/Makefile.inc b/src/mainboard/google/brya/variants/vell/Makefile.inc
index 20c6c3c22f..7fb0167253 100644
--- a/src/mainboard/google/brya/variants/vell/Makefile.inc
+++ b/src/mainboard/google/brya/variants/vell/Makefile.inc
@@ -3,3 +3,4 @@ bootblock-y += gpio.c
romstage-y += memory.c
romstage-y += gpio.c
ramstage-y += gpio.c
+ramstage-y += variant.c
diff --git a/src/mainboard/google/brya/variants/vell/variant.c b/src/mainboard/google/brya/variants/vell/variant.c
new file mode 100644
index 0000000000..76f0f524a8
--- /dev/null
+++ b/src/mainboard/google/brya/variants/vell/variant.c
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <sar.h>
+
+const char *get_wifi_sar_cbfs_filename(void)
+{
+ return "wifi_sar_0.hex";
+}