coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <baseboard/variants.h>
4
#include <
console/console.h
>
5
6
void
variant_updm_update
(
FSP_M_CONFIG
*mcfg)
7
{
8
printk
(
BIOS_INFO
,
"%s UPDM update\n"
, __func__);
9
if
(
variant_gets_mb_type_config
()) {
10
mcfg->telemetry_vddcr_vdd_slope_mA = 32453;
11
mcfg->telemetry_vddcr_vdd_offset = 168;
12
mcfg->telemetry_vddcr_soc_slope_mA = 22644;
13
mcfg->telemetry_vddcr_soc_offset = -70;
14
}
15
}
printk
#define printk(level,...)
Definition:
stdlib.h:16
console.h
FSP_M_CONFIG
#define FSP_M_CONFIG
Definition:
fsp_upd.h:8
BIOS_INFO
#define BIOS_INFO
BIOS_INFO - Expected events.
Definition:
loglevel.h:113
variant_updm_update
void __weak variant_updm_update(FSP_M_CONFIG *mcfg)
Definition:
romstage.c:6
variant_gets_mb_type_config
int variant_gets_mb_type_config(void)
Definition:
helpers.c:98
src
mainboard
google
zork
variants
vilboz
romstage.c
Generated by
1.9.1