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

Go to the source code of this file.

Functions

uint32_t board_id (void)
 board_id() - Get the board version More...
 

Function Documentation

◆ board_id()

uint32_t board_id ( void  )

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 6 of file boardid.c.

References BOARD_ID_INIT, BOARD_ID_UNKNOWN, MAYBE_STATIC_NONZERO, and wilco_ec_get_board_id().

Referenced by sku_id(), and use_old_pins().

Here is the call graph for this function:
Here is the caller graph for this function: