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

Go to the source code of this file.

Macros

#define BOARD_ID_SKL_A0_RVP3   0x04
 
#define BOARD_ID_SKL_RVP7   0x0B
 
#define BOARD_ID_KBL_RVP8   0x42
 
#define BOARD_ID_KBL_RVP11   0x44
 
#define BOARD_ID_KBL_LPDDR3_RVP3   0x60
 
#define BOARD_ID_KBL_LPDDR3_RVP7   0x64
 
#define EC_FAB_ID_CMD   0x0D
 

Functions

int get_ec_boardinfo (void)
 
int get_spd_index (u8 *spd_index)
 
int get_board_id (void)
 

Macro Definition Documentation

◆ BOARD_ID_KBL_LPDDR3_RVP3

#define BOARD_ID_KBL_LPDDR3_RVP3   0x60

Definition at line 15 of file board_id.h.

◆ BOARD_ID_KBL_LPDDR3_RVP7

#define BOARD_ID_KBL_LPDDR3_RVP7   0x64

Definition at line 16 of file board_id.h.

◆ BOARD_ID_KBL_RVP11

#define BOARD_ID_KBL_RVP11   0x44

Definition at line 12 of file board_id.h.

◆ BOARD_ID_KBL_RVP8

#define BOARD_ID_KBL_RVP8   0x42

Definition at line 11 of file board_id.h.

◆ BOARD_ID_SKL_A0_RVP3

#define BOARD_ID_SKL_A0_RVP3   0x04

Definition at line 9 of file board_id.h.

◆ BOARD_ID_SKL_RVP7

#define BOARD_ID_SKL_RVP7   0x0B

Definition at line 10 of file board_id.h.

◆ EC_FAB_ID_CMD

#define EC_FAB_ID_CMD   0x0D

Definition at line 19 of file board_id.h.

Function Documentation

◆ get_board_id()

int get_board_id ( void  )

Definition at line 20 of file board_id.c.

◆ get_ec_boardinfo()

int get_ec_boardinfo ( void  )

Definition at line 10 of file board_id.c.

References buffer, EC_FAB_ID_CMD, MAYBE_STATIC_NONZERO, recv_ec_data(), and send_ec_command().

Referenced by get_board_id(), and get_spd_index().

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

◆ get_spd_index()

int get_spd_index ( u8 spd_index)

Definition at line 26 of file board_id.c.

References get_ec_boardinfo(), and spd_index.

Here is the call graph for this function: