summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorJamie Chen <jamie_chen@compal.corp-partner.google.com>2023-03-23 13:02:15 +0800
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-03-27 08:41:07 +0000
commitfd5d26522c021c8f7a3242609f3b54cf209a8767 (patch)
tree0ab80ccb3ca7f3d5593b8610f12a926a67ea6a9c /src/mainboard/google
parent3b5d9ee516adb42a57557a8712761ad94633a276 (diff)
mb/google/brya/var/omnigul: Add WIFI SAR table
Add WIFI SAR table for omnigul. BUG=b:273170023,b:273652516 TEST=FW_NAME=omnigul emerge-brya coreboot Change-Id: I2db057371754961503cfdc59f21c365fc82672c4 Signed-off-by: Jamie Chen <jamie_chen@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73940 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Derek Huang <derekhuang@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/brya/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/omnigul/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/omnigul/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 d9522efd92..85504c701c 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -337,6 +337,7 @@ config BOARD_GOOGLE_OMNIGUL
select SOC_INTEL_RAPTORLAKE
select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS
select DRIVERS_INTEL_ISH
+ select CHROMEOS_WIFI_SAR if CHROMEOS
config BOARD_GOOGLE_CONSTITUTION
bool "-> Constitution"
diff --git a/src/mainboard/google/brya/variants/omnigul/Makefile.inc b/src/mainboard/google/brya/variants/omnigul/Makefile.inc
index a9bae70fc8..8843e0d9e2 100644
--- a/src/mainboard/google/brya/variants/omnigul/Makefile.inc
+++ b/src/mainboard/google/brya/variants/omnigul/Makefile.inc
@@ -3,6 +3,8 @@ bootblock-y += gpio.c
ramstage-y += gpio.c
+ramstage-y += variant.c
+
romstage-y += gpio.c
romstage-y += memory.c
diff --git a/src/mainboard/google/brya/variants/omnigul/variant.c b/src/mainboard/google/brya/variants/omnigul/variant.c
new file mode 100644
index 0000000000..6a79780f6e
--- /dev/null
+++ b/src/mainboard/google/brya/variants/omnigul/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";
+}