coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
devtree.c File Reference
#include <device/device.h>
#include <device/pci_def.h>
#include <option.h>
#include <types.h>
#include <variants.h>
#include "soc/intel/apollolake/chip.h"
Include dependency graph for devtree.c:

Go to the source code of this file.

Functions

enum cmos_power_profile get_power_profile (enum cmos_power_profile fallback)
 
void devtree_update (void)
 

Function Documentation

◆ devtree_update()

void devtree_update ( void  )

Definition at line 17 of file devtree.c.

References config_of_soc, disable_turbo(), device::enabled, get_power_profile(), get_uint_option(), pcidev_on_root(), PP_BALANCED, PP_PERFORMANCE, PP_POWER_SAVER, soc_power_limits_config::tdp_pl1_override, and soc_power_limits_config::tdp_pl2_override.

Referenced by init_mainboard().

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

◆ get_power_profile()

enum cmos_power_profile get_power_profile ( enum cmos_power_profile  fallback)

Definition at line 1 of file devtree.c.

References get_uint_option(), and NUM_POWER_PROFILES.

Referenced by devtree_update().

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