summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r--src/mainboard/google/brya/variants/nivviks/Makefile.mk1
-rw-r--r--src/mainboard/google/brya/variants/nivviks/variant.c9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/nivviks/Makefile.mk b/src/mainboard/google/brya/variants/nivviks/Makefile.mk
index 4e128435f7..4578e25f24 100644
--- a/src/mainboard/google/brya/variants/nivviks/Makefile.mk
+++ b/src/mainboard/google/brya/variants/nivviks/Makefile.mk
@@ -5,4 +5,5 @@ romstage-y += gpio.c
romstage-y += memory.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
+ramstage-$(CONFIG_FW_CONFIG) += variant.c
ramstage-y += gpio.c
diff --git a/src/mainboard/google/brya/variants/nivviks/variant.c b/src/mainboard/google/brya/variants/nivviks/variant.c
new file mode 100644
index 0000000000..94809ae78a
--- /dev/null
+++ b/src/mainboard/google/brya/variants/nivviks/variant.c
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#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_CATEGORY));
+}