coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mainboard.c File Reference
#include <baseboard/variants.h>
#include <chip.h>
#include <device/device.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <intelblocks/power_limit.h>
Include dependency graph for mainboard.c:

Go to the source code of this file.

Macros

#define PL2_AML   18
 
#define PL2_KBL   15
 

Functions

static uint32_t get_pl2 (void)
 
void variant_devtree_update (void)
 

Macro Definition Documentation

◆ PL2_AML

#define PL2_AML   18

Definition at line 10 of file mainboard.c.

◆ PL2_KBL

#define PL2_KBL   15

Definition at line 11 of file mainboard.c.

Function Documentation

◆ get_pl2()

static uint32_t get_pl2 ( void  )
static

Definition at line 13 of file mainboard.c.

References PCI_DEVICE_ID, PCI_DID_INTEL_KBL_GT2_SULXM, pci_read_config16(), pcidev_path_on_root(), PL2_AML, PL2_KBL, and SA_DEVFN_IGD.

Referenced by variant_devtree_update().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ variant_devtree_update()

void variant_devtree_update ( void  )

Definition at line 27 of file mainboard.c.

References config_of_soc, get_pl2(), and soc_power_limits_config::tdp_pl2_override.

Here is the call graph for this function: