soc/mediatek/mt8196: Add GPUEB support
[coreboot2.git] / src / mainboard / intel / kblrvp / board_id.h
blobd77fc0595009fdc559e2b80131cd14e8e29e0c7d
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef _MAINBOARD_BOARD_ID_H_
4 #define _MAINBOARD_BOARD_ID_H_
6 #include <stdint.h>
8 /* Mobile Board Id 0x00 - 0xFF */
9 #define BOARD_ID_SKL_A0_RVP3 0x04
10 #define BOARD_ID_SKL_RVP7 0x0B
11 #define BOARD_ID_KBL_RVP8 0x42
12 #define BOARD_ID_KBL_RVP11 0x44
14 /* 60-6F reserved for KBL RVPs */
15 #define BOARD_ID_KBL_LPDDR3_RVP3 0x60
16 #define BOARD_ID_KBL_LPDDR3_RVP7 0x64
18 /* Board/FAB ID Command */
19 #define EC_FAB_ID_CMD 0x0D
22 * Returns board information (board id[15:8] and
23 * Fab info[7:0]) on success and < 0 on error
25 int get_ec_boardinfo(void);
27 /* Return spd index */
28 int get_spd_index(u8 *spd_index);
30 /* Board id[15:8] */
31 int get_board_id(void);
33 #endif /* _MAINBOARD_BOARD_ID_H_ */