summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/yavilla
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/brya/variants/yavilla')
-rw-r--r--src/mainboard/google/brya/variants/yavilla/overridetree.cb9
-rw-r--r--src/mainboard/google/brya/variants/yavilla/variant.c6
2 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/yavilla/overridetree.cb b/src/mainboard/google/brya/variants/yavilla/overridetree.cb
index 6e6e0a9164..ede4e54b9b 100644
--- a/src/mainboard/google/brya/variants/yavilla/overridetree.cb
+++ b/src/mainboard/google/brya/variants/yavilla/overridetree.cb
@@ -28,6 +28,15 @@ fw_config
option MB_1C 0
option MB_1C_2A 1
end
+ field WIFI_SAR_ID2 16 19
+ option INTEL_YAVILLA_LTE 0
+ option INTEL_YAVILLA_WIFI 1
+ option INTEL_YAVILLY_LTE 2
+ option INTEL_YAVILLY_WIFI 3
+ option INTEL_YAVIJO_LTE 4
+ option INTEL_YAVIJO_WIFI 5
+ option UNUSED 15
+ end
end
chip soc/intel/alderlake
diff --git a/src/mainboard/google/brya/variants/yavilla/variant.c b/src/mainboard/google/brya/variants/yavilla/variant.c
index 60a7c79b25..9140eb043f 100644
--- a/src/mainboard/google/brya/variants/yavilla/variant.c
+++ b/src/mainboard/google/brya/variants/yavilla/variant.c
@@ -4,6 +4,7 @@
#include <boardid.h>
#include <device/device.h>
#include <fw_config.h>
+#include <sar.h>
void variant_devtree_update(void)
{
@@ -27,3 +28,8 @@ void variant_devtree_update(void)
ish->enabled = 0;
}
}
+
+const char *get_wifi_sar_cbfs_filename(void)
+{
+ return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID2));
+}