![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | ADC_LEVELS 15 |
Enumerations | |
enum | { RAM_ID_HIGH_CHANNEL = 4 , RAM_ID_LOW_CHANNEL = 3 , SKU_ID_HIGH_CHANNEL = 6 , SKU_ID_LOW_CHANNEL = 5 } |
Functions | |
static uint32_t | get_adc_index (unsigned int channel) |
uint32_t | sku_id (void) |
uint32_t | ram_code (void) |
Variables | |
static const unsigned int | ram_voltages [ADC_LEVELS] |
static const unsigned int * | adc_voltages [] |
anonymous enum |
Definition at line 47 of file boardid.c.
References ADC_LEVELS, adc_voltages, ARRAY_SIZE, assert, auxadc_get_voltage_uv(), BIOS_DEBUG, printk, and value.
Referenced by ram_code(), and sku_id().
Definition at line 78 of file boardid.c.
References BIOS_DEBUG, BOARD_ID_INIT, get_adc_index(), printk, RAM_ID_HIGH_CHANNEL, and RAM_ID_LOW_CHANNEL.
Definition at line 65 of file boardid.c.
References BIOS_DEBUG, BOARD_ID_INIT, get_adc_index(), printk, SKU_ID_HIGH_CHANNEL, and SKU_ID_LOW_CHANNEL.
Referenced by sku_id().
|
static |
|
static |