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

Go to the source code of this file.

Macros

#define SKU_UNKNOWN   0xFFFFFFFF
 

Functions

void variant_update_devtree (struct device *dev)
 
const char * get_wifi_sar_cbfs_filename (void)
 

Macro Definition Documentation

◆ SKU_UNKNOWN

#define SKU_UNKNOWN   0xFFFFFFFF

Definition at line 8 of file variant.c.

Function Documentation

◆ get_wifi_sar_cbfs_filename()

const char* get_wifi_sar_cbfs_filename ( void  )

Definition at line 26 of file variant.c.

References google_chromeec_get_board_sku(), sku_id(), SKU_UNKNOWN, and WIFI_SAR_CBFS_DEFAULT_FILENAME.

Here is the call graph for this function:

◆ variant_update_devtree()

void variant_update_devtree ( struct device dev)

Definition at line 10 of file variant.c.

References device::enabled, google_chromeec_get_board_sku(), no_touchscreen_sku(), NULL, PCH_DEVFN_I2C7, pcidev_path_on_root(), sku_id(), and SKU_UNKNOWN.

Here is the call graph for this function: