summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Chen <robert.chen@quanta.corp-partner.google.com>2022-12-09 03:40:27 -0500
committerFelix Held <felix-coreboot@felixheld.de>2022-12-13 14:37:18 +0000
commitb9a59f74f0bfd4424f23d1bffde6a0dcf160641a (patch)
treefee82f3d3016f131130259713dc52ae9d9f38bfe
parent97a45e6a2aff39d71058c6eb668538936bc8d146 (diff)
mb/google/brya/var/gladios: Add Wifi SAR for gladios
Add wifi sar for gladios. BUG=b:260950906 BRANCH=firmware-brya-14505.B TEST=emerge-brask coreboot-private-files-baseboard-brya coreboot chromeos-bootimage Change-Id: I4cd015f17c4ddd28414f51a873ae4afc37863708 Signed-off-by: Robert Chen <robert.chen@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70605 Reviewed-by: Kevin Chiu <kevin.chiu.17802@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/brya/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/gladios/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/gladios/variant.c8
3 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index e141933091..8d6362dd2c 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -300,6 +300,7 @@ config BOARD_GOOGLE_ZYDRON
config BOARD_GOOGLE_GLADIOS
bool "-> Gladios"
select BOARD_GOOGLE_BASEBOARD_BRASK
+ select CHROMEOS_WIFI_SAR if CHROMEOS
select SOC_INTEL_RAPTORLAKE
select DRIVERS_GENESYSLOGIC_GL9763E
select DRIVERS_GENESYSLOGIC_GL9750
diff --git a/src/mainboard/google/brya/variants/gladios/Makefile.inc b/src/mainboard/google/brya/variants/gladios/Makefile.inc
index d38141ca24..f41cdfdb8a 100644
--- a/src/mainboard/google/brya/variants/gladios/Makefile.inc
+++ b/src/mainboard/google/brya/variants/gladios/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/gladios/variant.c b/src/mainboard/google/brya/variants/gladios/variant.c
new file mode 100644
index 0000000000..76f0f524a8
--- /dev/null
+++ b/src/mainboard/google/brya/variants/gladios/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";
+}