summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorShon <shon.wang@quanta.corp-partner.google.com>2024-09-12 19:14:07 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-09-30 11:14:54 +0000
commitebda9fc16b2818baffb39700219c453e47bd5eaf (patch)
treeaa2d47066b62aeb5811ce03bff8db13a36d890e2 /src/mainboard/google
parent4a334bc9a1ba9b38b048bebc7fefe77af5017151 (diff)
mb/google/brya/var/bujia: Add Wifi SAR for bujia
Add wifi sar for bujia. BUG=b:345364452 BRANCH=firmware-brya-14505.B TEST=emerge-brask coreboot-private-files-baseboard-brya coreboot chromeos-bootimage Change-Id: I5a67f3723a9dc33793a5cd95f9a3a2596c3c1fc6 Signed-off-by: Shon Wang <shon.wang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84501 Reviewed-by: Jayvik Desai <jayvik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Derek Huang <derekhuang@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/variants/bujia/Makefile.mk1
-rw-r--r--src/mainboard/google/brya/variants/bujia/variant.c8
3 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 5f1e6b9b86..4f49df2573 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -187,6 +187,7 @@ config BOARD_GOOGLE_BRYA0
config BOARD_GOOGLE_BUJIA
select BOARD_GOOGLE_BASEBOARD_BRASK
+ select CHROMEOS_WIFI_SAR if CHROMEOS
select INTEL_GMA_HAVE_VBT
select SOC_INTEL_RAPTORLAKE
diff --git a/src/mainboard/google/brya/variants/bujia/Makefile.mk b/src/mainboard/google/brya/variants/bujia/Makefile.mk
index bc39984d6c..175d5bbce2 100644
--- a/src/mainboard/google/brya/variants/bujia/Makefile.mk
+++ b/src/mainboard/google/brya/variants/bujia/Makefile.mk
@@ -5,3 +5,4 @@ romstage-y += gpio.c
ramstage-y += gpio.c
ramstage-y += ramstage.c
+ramstage-y += variant.c
diff --git a/src/mainboard/google/brya/variants/bujia/variant.c b/src/mainboard/google/brya/variants/bujia/variant.c
new file mode 100644
index 0000000000..76f0f524a8
--- /dev/null
+++ b/src/mainboard/google/brya/variants/bujia/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";
+}