device/azalia_device.c: Add option to lock down GCAP
[coreboot.git] / src / mainboard / intel / adlrvp / board_id.h
blob2988127e9b5f4438586cb907535766b14abf213c
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef _MAINBOARD_COMMON_BOARD_ID_H_
4 #define _MAINBOARD_COMMON_BOARD_ID_H_
6 /* Board/FAB ID Command */
7 #define EC_FAB_ID_CMD 0x0d
8 /* Bit 5:0 for Board ID */
9 #define BOARD_ID_MASK 0x3f
12 * Returns board information (board id[15:8] and
13 * Fab info[7:0]) on success and < 0 on error
15 int get_board_id(void);
17 #endif /* _MAINBOARD_COMMON_BOARD_ID_H_ */