blob: 5a671b9c6385ef03682ffda10c49d546b71fcbf2 [file] [log] [blame]
Morris Hsu2cd0e202023-03-20 15:29:09 +08001/* SPDX-License-Identifier: GPL-2.0-or-later */
2#include <baseboard/variants.h>
3#include <fw_config.h>
4#include <soc/soc_chip.h>
5static void ext_vr_update(void)
6{
7 struct soc_intel_jasperlake_config *cfg = config_of_soc();
8 if (fw_config_probe(FW_CONFIG(EXT_VR, EXT_VR_ABSENT)))
9 cfg->disable_external_bypass_vr = 1;
10}
11void variant_devtree_update(void)
12{
13 ext_vr_update();
14}