coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
board_version.h File Reference
#include <boardid.h>
Include dependency graph for board_version.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SAMUS_EC_BOARD_VERSION_EVT1   3
 
#define SAMUS_EC_BOARD_VERSION_EVT2   4
 
#define SAMUS_EC_BOARD_VERSION_EVT3   5
 
#define SAMUS_EC_BOARD_VERSION_EVT4   0
 
#define SAMUS_EC_BOARD_VERSION_UNKNOWN   BOARD_ID_UNKNOWN
 

Functions

const char * samus_board_version (void)
 

Macro Definition Documentation

◆ SAMUS_EC_BOARD_VERSION_EVT1

#define SAMUS_EC_BOARD_VERSION_EVT1   3

Definition at line 8 of file board_version.h.

◆ SAMUS_EC_BOARD_VERSION_EVT2

#define SAMUS_EC_BOARD_VERSION_EVT2   4

Definition at line 9 of file board_version.h.

◆ SAMUS_EC_BOARD_VERSION_EVT3

#define SAMUS_EC_BOARD_VERSION_EVT3   5

Definition at line 10 of file board_version.h.

◆ SAMUS_EC_BOARD_VERSION_EVT4

#define SAMUS_EC_BOARD_VERSION_EVT4   0

Definition at line 11 of file board_version.h.

◆ SAMUS_EC_BOARD_VERSION_UNKNOWN

#define SAMUS_EC_BOARD_VERSION_UNKNOWN   BOARD_ID_UNKNOWN

Definition at line 12 of file board_version.h.

Function Documentation

◆ samus_board_version()

const char* samus_board_version ( void  )

Definition at line 6 of file board_version.c.

References google_chromeec_get_board_version(), SAMUS_EC_BOARD_VERSION_EVT1, SAMUS_EC_BOARD_VERSION_EVT2, SAMUS_EC_BOARD_VERSION_EVT3, SAMUS_EC_BOARD_VERSION_EVT4, and SAMUS_EC_BOARD_VERSION_UNKNOWN.

Referenced by mainboard_post_raminit(), and smbios_mainboard_version().

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