coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
board_id.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _MAINBOARD_BOARD_ID_H_
4 #define _MAINBOARD_BOARD_ID_H_
5 
6 /* Board/FAB ID Command */
7 #define EC_FAB_ID_CMD 0x0D
8 
9 /*
10  * Returns board information (board id[15:8] and
11  * Fab info[7:0]) on success and < 0 on error
12  */
13 int get_board_id(void);
14 
15 #endif /* _MAINBOARD_BOARD_ID_H_ */
int get_board_id(void)
Definition: board_id.c:20