coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.h File Reference
#include <gpio.h>
#include <variant/gpio.h>
Include dependency graph for variant.h:

Go to the source code of this file.

Data Structures

struct  sku_info
 

Functions

int variant_memory_sku (void)
 
static int has_360_sensor_board (void)
 

Variables

static const sku_info skus []
 

Function Documentation

◆ has_360_sensor_board()

static int has_360_sensor_board ( void  )
inlinestatic

Definition at line 30 of file variant.h.

References gpio_get(), and SENSOR_DET_360.

Here is the call graph for this function:

◆ variant_memory_sku()

int variant_memory_sku ( void  )

Definition at line 74 of file memory.c.

Variable Documentation

◆ skus

const sku_info skus[]
static
Initial value:
= {
{ .id = 1, .name = "sku1" },
{ .id = 2, .name = "sku2" },
{ .id = 3, .name = "sku3" },
{ .id = 4, .name = "sku4" },
}

Definition at line 15 of file variant.h.