diff --git a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb index 38b1da2712..3a799944dd 100644 --- a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb @@ -24,6 +24,10 @@ fw_config option LTE_ABSENT 0 option LTE_PRESENT 1 end + field EXT_VR 18 + option EXT_VR_PRESENT 0 + option EXT_VR_ABSENT 1 + end end chip soc/intel/jasperlake diff --git a/src/mainboard/google/dedede/variants/sasukette/ramstage.c b/src/mainboard/google/dedede/variants/sasukette/ramstage.c index 2f714ff03e..b4ea9cbcfa 100644 --- a/src/mainboard/google/dedede/variants/sasukette/ramstage.c +++ b/src/mainboard/google/dedede/variants/sasukette/ramstage.c @@ -6,6 +6,7 @@ #include #include #include +#include extern struct chip_operations drivers_i2c_generic_ops; @@ -29,7 +30,16 @@ static void audio_codec_update(void) config->hid = "RTL5682"; } +static void ext_vr_update(void) +{ + struct soc_intel_jasperlake_config *cfg = config_of_soc(); + + if (fw_config_probe(FW_CONFIG(EXT_VR, EXT_VR_ABSENT))) + cfg->disable_external_bypass_vr = 1; +} + void variant_devtree_update(void) { audio_codec_update(); + ext_vr_update(); }