summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/dedede/variants/drawcia/ramstage.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/drawcia/ramstage.c b/src/mainboard/google/dedede/variants/drawcia/ramstage.c
index 26f1532274..aed160e12d 100644
--- a/src/mainboard/google/dedede/variants/drawcia/ramstage.c
+++ b/src/mainboard/google/dedede/variants/drawcia/ramstage.c
@@ -4,6 +4,15 @@
#include <boardid.h>
#include <device/device.h>
#include <drivers/usb/acpi/chip.h>
+#include <fw_config.h>
+#include <soc/soc_chip.h>
+
+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)
{
@@ -21,4 +30,5 @@ void variant_devtree_update(void)
config = config_of(lte_usb2);
config->reset_gpio = lte_reset_gpio;
+ ext_vr_update();
}