Robert Chen | 151a48d | 2022-03-25 16:33:11 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | |||||
3 | #include <baseboard/variants.h> | ||||
4 | #include <fw_config.h> | ||||
5 | #include <soc/soc_chip.h> | ||||
6 | |||||
7 | static void ext_vr_update(void) | ||||
8 | { | ||||
9 | struct soc_intel_jasperlake_config *cfg = config_of_soc(); | ||||
10 | if (fw_config_probe(FW_CONFIG(EXT_VR, EXT_VR_ABSENT))) | ||||
11 | cfg->disable_external_bypass_vr = 1; | ||||
12 | } | ||||
13 | |||||
14 | void variant_devtree_update(void) | ||||
15 | { | ||||
16 | ext_vr_update(); | ||||
17 | } |