coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ramstage.c
Go to the documentation of this file.
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 {
10  if (fw_config_probe(FW_CONFIG(EXT_VR, EXT_VR_ABSENT)))
12 }
13 
15 {
16  ext_vr_update();
17 }
#define FW_CONFIG(__field, __option)
Definition: fw_config.h:28
#define config_of_soc()
Definition: device.h:394
bool fw_config_probe(const struct fw_config *match)
Definition: fw_config.c:62
void variant_devtree_update(void)
Definition: ramstage.c:63
static void ext_vr_update(void)
Definition: ramstage.c:7