summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorris Hsu <morris-hsu@quanta.corp-partner.google.com>2023-07-24 18:05:42 +0800
committerMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-07-28 14:20:15 +0000
commit5dd832c5c8f4f661782019b526584a3aa5375a33 (patch)
tree92d6836f83462d085b37a1952b943d4a5142b1b6 /src
parent5700a1e7f029ca84530c6dc926e0d9dac942a016 (diff)
mb/google/brask/var/constitution: Add wifi sar table
Add wifi sar table for constitution BUG=b:291859402 BRANCH=firmware-brya-14505.B TEST=emerge-constitution coreboot chromeos-bootimage Change-Id: I8f99c5cf486cb3e1f2825bbe3a8084f2fe57a41a Signed-off-by: Morris Hsu <morris-hsu@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76674 Reviewed-by: YH Lin <yueherngl@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/constitution/Makefile.inc1
-rw-r--r--src/mainboard/google/brya/variants/constitution/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 f7f2b75fd2..be67f5670c 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -353,6 +353,7 @@ config BOARD_GOOGLE_OMNIGUL
config BOARD_GOOGLE_CONSTITUTION
bool "-> Constitution"
select BOARD_GOOGLE_BASEBOARD_BRASK
+ select CHROMEOS_WIFI_SAR if CHROMEOS
select SOC_INTEL_RAPTORLAKE
select MEMORY_SOLDERDOWN
diff --git a/src/mainboard/google/brya/variants/constitution/Makefile.inc b/src/mainboard/google/brya/variants/constitution/Makefile.inc
index 20c6c3c22f..7fb0167253 100644
--- a/src/mainboard/google/brya/variants/constitution/Makefile.inc
+++ b/src/mainboard/google/brya/variants/constitution/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/constitution/variant.c b/src/mainboard/google/brya/variants/constitution/variant.c
new file mode 100644
index 0000000000..6a79780f6e
--- /dev/null
+++ b/src/mainboard/google/brya/variants/constitution/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";
+}