Morris Hsu | 2cd0e20 | 2023-03-20 15:29:09 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | #include <baseboard/variants.h> | ||||
3 | #include <fw_config.h> | ||||
4 | #include <soc/soc_chip.h> | ||||
5 | static 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 | } | ||||
11 | void variant_devtree_update(void) | ||||
12 | { | ||||
13 | ext_vr_update(); | ||||
14 | } |