diff options
-rw-r--r-- | src/mainboard/google/rex/mainboard.c | 11 | ||||
-rw-r--r-- | src/mainboard/google/rex/variants/baseboard/include/baseboard/variants.h | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/mainboard.c b/src/mainboard/google/rex/mainboard.c index c1c22dba50..a0dba44e4c 100644 --- a/src/mainboard/google/rex/mainboard.c +++ b/src/mainboard/google/rex/mainboard.c @@ -8,6 +8,7 @@ #include <drivers/wwan/fm/chip.h> #include <ec/ec.h> #include <fw_config.h> +#include <soc/ramstage.h> #include <stdlib.h> #include <vendorcode/google/chromeos/chromeos.h> @@ -18,6 +19,16 @@ void __weak fw_config_gpio_padbased_override(struct pad_config *padbased_table) /* default implementation does nothing */ } +void mainboard_update_soc_chip_config(struct soc_intel_meteorlake_config *config) +{ + variant_update_soc_chip_config(config); +} + +__weak void variant_update_soc_chip_config(struct soc_intel_meteorlake_config *config) +{ + /* default implementation does nothing */ +} + static void mainboard_init(void *chip_info) { struct pad_config *padbased_table; diff --git a/src/mainboard/google/rex/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/rex/variants/baseboard/include/baseboard/variants.h index b51517c403..6bb52e28a9 100644 --- a/src/mainboard/google/rex/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/rex/variants/baseboard/include/baseboard/variants.h @@ -3,6 +3,7 @@ #ifndef __BASEBOARD_VARIANTS_H__ #define __BASEBOARD_VARIANTS_H__ +#include <chip.h> #include <soc/gpio.h> #include <soc/meminit.h> #include <stdint.h> @@ -21,6 +22,7 @@ const struct mb_cfg *variant_memory_params(void); void variant_get_spd_info(struct mem_spd *spd_info); int variant_memory_sku(void); bool variant_is_half_populated(void); +void variant_update_soc_chip_config(struct soc_intel_meteorlake_config *config); enum s0ix_entry { S0IX_EXIT, |