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.
Functions | |
static uint8_t | get_board_id (void) |
uint32_t | board_id (void) |
board_id() - Get the board version More... | |
uint32_t | ram_code (void) |
Variables | |
static int | board_id_value = -1 |
board_id() - Get the board version
Return: board version on success, BOARD_ID_UNKNOWN on failure/error.
This function is used to get the mainboard version.
Definition at line 23 of file boardid.c.
References board_id_value, and get_board_id().
Definition at line 10 of file boardid.c.
References ARRAY_SIZE, BIOS_INFO, BOARD_ID_0, BOARD_ID_1, BOARD_ID_2, gpio_base2_value(), pins, and printk.
Referenced by board_id().
|
static |
Definition at line 8 of file boardid.c.
Referenced by board_id().