summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Chen <robert.chen@quanta.corp-partner.google.com>2022-12-08 04:11:26 -0500
committerFelix Held <felix-coreboot@felixheld.de>2022-12-13 14:37:33 +0000
commit1cd409f3a88053ae84c3e8a67af470890224f6dd (patch)
tree82a751f5c3c9e16ee40061c558f136acb435a28f /src
parentb9a59f74f0bfd4424f23d1bffde6a0dcf160641a (diff)
mb/google/brya/var/lisbon: Add Wifi SAR for lisbon
Add wifi sar for lisbon. BUG=b:260938760 BRANCH=firmware-brya-14505.B TEST=emerge-brask coreboot-private-files-baseboard-brya coreboot chromeos-bootimage Change-Id: Ia347c4cf56bec971700bb53a5804e36e0bad82fb Signed-off-by: Robert Chen <robert.chen@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70483 Reviewed-by: Kevin Chiu <kevin.chiu.17802@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/lisbon/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/lisbon/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 8d6362dd2c..ecca6cc7a7 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -285,6 +285,7 @@ config BOARD_GOOGLE_YAVIKS
config BOARD_GOOGLE_LISBON
bool "-> Lisbon"
select BOARD_GOOGLE_BASEBOARD_BRASK
+ select CHROMEOS_WIFI_SAR if CHROMEOS
select DRIVERS_GENESYSLOGIC_GL9750
select DRIVERS_GENESYSLOGIC_GL9763E
diff --git a/src/mainboard/google/brya/variants/lisbon/Makefile.inc b/src/mainboard/google/brya/variants/lisbon/Makefile.inc
index d38141ca24..f41cdfdb8a 100644
--- a/src/mainboard/google/brya/variants/lisbon/Makefile.inc
+++ b/src/mainboard/google/brya/variants/lisbon/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/lisbon/variant.c b/src/mainboard/google/brya/variants/lisbon/variant.c
new file mode 100644
index 0000000000..76f0f524a8
--- /dev/null
+++ b/src/mainboard/google/brya/variants/lisbon/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";
+}