YH Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/77596?usp=email )
Change subject: mb/google/rex/var/screebo: sync fw_config with build matrix ......................................................................
mb/google/rex/var/screebo: sync fw_config with build matrix
In addition,
1. Remove SD_ABSENT since it's not being used. 2. Hook up WiFi SAR table once it's defined
BUG=b:291155207 TEST=emerge-rex coreboot
Change-Id: Icfa472ff5570ac728038ec67a762289407760812 Signed-off-by: YH Lin yueherngl@google.com --- M src/mainboard/google/rex/Kconfig M src/mainboard/google/rex/variants/screebo/overridetree.cb M src/mainboard/google/rex/variants/screebo/variant.c 3 files changed, 17 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/77596/1
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig index cc15b7b..d991028 100644 --- a/src/mainboard/google/rex/Kconfig +++ b/src/mainboard/google/rex/Kconfig @@ -59,6 +59,7 @@ 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 63c753e..ae4e5a3 100644 --- a/src/mainboard/google/rex/variants/screebo/overridetree.cb +++ b/src/mainboard/google/rex/variants/screebo/overridetree.cb @@ -18,10 +18,17 @@ option TOUCHSCREEN_ILITEK 1 option TOUCHSCREEN_ELAN 2 end + field FP_MCU 10 10 + option FP_MCU_STM 0 + option FP_MCU_NPCX 1 + end field DB_SD 11 12 - option SD_ABSENT 0 - option SD_GL9750 1 - option SD_RTS5227S 2 + option SD_GL9750 0 + option SD_RTS5227S 1 + end + field WIFI_SAR_ID 13 13 + option WIFI_SAR_ID_0 0 + option WIFI_SAR_ID_1 1 end end
diff --git a/src/mainboard/google/rex/variants/screebo/variant.c b/src/mainboard/google/rex/variants/screebo/variant.c index 4044fd4..4ea6598 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) {