coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.c File Reference
#include <acpi/acpi.h>
#include <sar.h>
#include <baseboard/variants.h>
#include <gpio.h>
#include <ec/google/chromeec/ec.h>
#include <soc/intel/apollolake/chip.h>
Include dependency graph for variant.c:

Go to the source code of this file.

Enumerations

enum  { SKU_1_LTE = 1 , SKU_2_WIFI = 2 , SKU_3_LTE_2CAM = 3 , SKU_4_WIFI_2CAM = 4 }
 

Functions

void variant_smi_sleep (u8 slp_typ)
 
void variant_update_devtree (struct device *dev)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SKU_1_LTE 
SKU_2_WIFI 
SKU_3_LTE_2CAM 
SKU_4_WIFI_2CAM 

Definition at line 10 of file variant.c.

Function Documentation

◆ variant_smi_sleep()

void variant_smi_sleep ( u8  slp_typ)

Definition at line 17 of file variant.c.

References ACPI_S5, google_chromeec_get_board_sku(), power_off_lte_module(), SKU_1_LTE, and SKU_3_LTE_2CAM.

Here is the call graph for this function:

◆ variant_update_devtree()

void variant_update_devtree ( struct device dev)

Definition at line 34 of file variant.c.

References device::chip_info, soc_intel_apollolake_config::disable_xhci_lfps_pm, google_chromeec_get_board_sku(), NULL, SKU_1_LTE, and SKU_3_LTE_2CAM.

Here is the call graph for this function: