summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/Kconfig1
-rw-r--r--src/mainboard/google/brya/variants/sundance/Makefile.mk1
-rw-r--r--src/mainboard/google/brya/variants/sundance/overridetree.cb3
-rw-r--r--src/mainboard/google/brya/variants/sundance/variant.c9
4 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 37897165f7..e89192412a 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -413,6 +413,7 @@ config BOARD_GOOGLE_PUJJO
config BOARD_GOOGLE_SUNDANCE
select BOARD_GOOGLE_BASEBOARD_NISSA
+ select CHROMEOS_WIFI_SAR if CHROMEOS
select DRIVERS_GENERIC_GPIO_KEYS
select HAVE_WWAN_POWER_SEQUENCE
diff --git a/src/mainboard/google/brya/variants/sundance/Makefile.mk b/src/mainboard/google/brya/variants/sundance/Makefile.mk
index 8ae0e3b61c..be82373521 100644
--- a/src/mainboard/google/brya/variants/sundance/Makefile.mk
+++ b/src/mainboard/google/brya/variants/sundance/Makefile.mk
@@ -5,3 +5,4 @@ romstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
ramstage-y += gpio.c
+ramstage-y += variant.c
diff --git a/src/mainboard/google/brya/variants/sundance/overridetree.cb b/src/mainboard/google/brya/variants/sundance/overridetree.cb
index 2c4a63d37b..bd5112fe44 100644
--- a/src/mainboard/google/brya/variants/sundance/overridetree.cb
+++ b/src/mainboard/google/brya/variants/sundance/overridetree.cb
@@ -3,6 +3,9 @@ fw_config
option LTE_ABSENT 0
option LTE_PRESENT 1
end
+ field WIFI_SAR_ID 12 15
+ option WIFI_SAR_TABLE_AX211 0
+ end
end
chip soc/intel/alderlake
diff --git a/src/mainboard/google/brya/variants/sundance/variant.c b/src/mainboard/google/brya/variants/sundance/variant.c
new file mode 100644
index 0000000000..c4a6face5b
--- /dev/null
+++ b/src/mainboard/google/brya/variants/sundance/variant.c
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#include <fw_config.h>
+#include <sar.h>
+
+const char *get_wifi_sar_cbfs_filename(void)
+{
+ return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID));
+}