summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/rex/Kconfig1
-rw-r--r--src/mainboard/google/rex/variants/screebo/overridetree.cb4
-rw-r--r--src/mainboard/google/rex/variants/screebo/variant.c6
3 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index 78dc780ca9..b289408633 100644
--- a/src/mainboard/google/rex/Kconfig
+++ b/src/mainboard/google/rex/Kconfig
@@ -64,6 +64,7 @@ config BOARD_GOOGLE_MODEL_REX_EC_ISH
config BOARD_GOOGLE_MODEL_SCREEBO
def_bool n
select BOARD_GOOGLE_BASEBOARD_REX
+ select CHROMEOS_WIFI_SAR if CHROMEOS
select DRIVERS_GENERIC_ALC1015
select DRIVERS_GENESYSLOGIC_GL9750
select DRIVERS_GENESYSLOGIC_GL9750_INVERT_WP
diff --git a/src/mainboard/google/rex/variants/screebo/overridetree.cb b/src/mainboard/google/rex/variants/screebo/overridetree.cb
index 6878ac600c..772ba9c508 100644
--- a/src/mainboard/google/rex/variants/screebo/overridetree.cb
+++ b/src/mainboard/google/rex/variants/screebo/overridetree.cb
@@ -26,6 +26,10 @@ fw_config
option SD_GL9750 0
option SD_RTS5227S 1
end
+ field WIFI_SAR_ID 13
+ option WIFI_SAR_ID_0 0
+ option WIFI_SAR_ID_1 1
+ end
end
chip soc/intel/meteorlake
diff --git a/src/mainboard/google/rex/variants/screebo/variant.c b/src/mainboard/google/rex/variants/screebo/variant.c
index 4044fd4025..4ea659863e 100644
--- a/src/mainboard/google/rex/variants/screebo/variant.c
+++ b/src/mainboard/google/rex/variants/screebo/variant.c
@@ -3,6 +3,12 @@
#include <chip.h>
#include <fw_config.h>
#include <baseboard/variants.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));
+}
void variant_update_soc_chip_config(struct soc_intel_meteorlake_config *config)
{