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 | BOARD_ID_GLK_RVP1_DDR4 0x5 /* RVP1 - DDR4 */ |
#define | BOARD_ID_GLK_RVP2_LP4SD 0x7 /* RVP2 - LP4 Solder Down */ |
#define | BOARD_ID_GLK_RVP2_LP4 0x8 /* RVP2 - LP4 Socket */ |
#define | EC_FAB_ID_CMD 0x0D /* Get the board fab ID in the lower 3 bits */ |
Functions | |
uint32_t | board_id (void) |
board_id() - Get the board version More... | |
#define BOARD_ID_GLK_RVP2_LP4SD 0x7 /* RVP2 - LP4 Solder Down */ |
#define EC_FAB_ID_CMD 0x0D /* Get the board fab ID in the lower 3 bits */ |
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 13 of file boardid.c.
References CONFIG, EC_FAB_ID_CMD, MAYBE_STATIC_NONZERO, recv_ec_data(), send_ec_command(), and variant_board_id().