Robert Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63110 )
Change subject: drawcia: Add FW_CONFIG probe for EXT_VR ......................................................................
drawcia: Add FW_CONFIG probe for EXT_VR
Add FW_CONFIG probe for don't stuffing ANPEC APW8738BQBI IC.
BUG=none TEST=emerge-dedede coreboot
Change-Id: I683049e9d2b10fc9455ef782ce798f1c453073bc Signed-off-by: Robert Chen robert.chen@quanta.corp-partner.google.com --- M src/mainboard/google/dedede/variants/drawcia/ramstage.c 1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/63110/1
diff --git a/src/mainboard/google/dedede/variants/drawcia/ramstage.c b/src/mainboard/google/dedede/variants/drawcia/ramstage.c index 26f1532..2ed5332 100644 --- a/src/mainboard/google/dedede/variants/drawcia/ramstage.c +++ b/src/mainboard/google/dedede/variants/drawcia/ramstage.c @@ -4,6 +4,8 @@ #include <boardid.h> #include <device/device.h> #include <drivers/usb/acpi/chip.h> +#include <fw_config.h> +#include <soc/soc_chip.h>
void variant_devtree_update(void) { @@ -21,4 +23,12 @@
config = config_of(lte_usb2); config->reset_gpio = lte_reset_gpio; + ext_vr_update(); +} + +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; }