coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
board_id.c File Reference
#include "board_id.h"
#include <ec/acpi/ec.h>
#include <stdint.h>
#include <stddef.h>
Include dependency graph for board_id.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ get_board_id()

int get_board_id ( void  )

Definition at line 37 of file board_id.c.

References get_ec_boardinfo().

Here is the call graph for this function:

◆ 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: