summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/Kconfig.name1
-rw-r--r--src/mainboard/google/brya/variants/crota/Makefile.inc2
-rw-r--r--src/mainboard/google/brya/variants/crota/variant.c11
3 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name
index dfa8986a26..d475d760ac 100644
--- a/src/mainboard/google/brya/Kconfig.name
+++ b/src/mainboard/google/brya/Kconfig.name
@@ -186,6 +186,7 @@ config BOARD_GOOGLE_BANSHEE
config BOARD_GOOGLE_CROTA
bool "-> Crota"
select BOARD_GOOGLE_BASEBOARD_BRYA
+ select CHROMEOS_WIFI_SAR if CHROMEOS
select DRIVERS_I2C_CS42L42
config BOARD_GOOGLE_MOLI
diff --git a/src/mainboard/google/brya/variants/crota/Makefile.inc b/src/mainboard/google/brya/variants/crota/Makefile.inc
index 7d1f88652d..f9d5990ace 100644
--- a/src/mainboard/google/brya/variants/crota/Makefile.inc
+++ b/src/mainboard/google/brya/variants/crota/Makefile.inc
@@ -4,3 +4,5 @@ romstage-y += gpio.c
romstage-y += memory.c
ramstage-y += gpio.c
+
+ramstage-y += variant.c
diff --git a/src/mainboard/google/brya/variants/crota/variant.c b/src/mainboard/google/brya/variants/crota/variant.c
new file mode 100644
index 0000000000..29f684aa08
--- /dev/null
+++ b/src/mainboard/google/brya/variants/crota/variant.c
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <sar.h>
+#include <chip.h>
+#include <fw_config.h>
+#include <baseboard/variants.h>
+
+const char *get_wifi_sar_cbfs_filename(void)
+{
+ return "wifi_sar_0.hex";
+}