mb/google/rauru: Implement regulator interface
[coreboot2.git] / src / mainboard / intel / tglrvp / board_id.h
blobf3dee88627a4be31f2b5acf72000d7425c10f517
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
9 /* TGL-U Board IDs */
10 #define TGL_UP3_LP4_SAMSUNG 0x3
11 #define TGL_UP3_LP4_HYNIX 0xB
12 #define TGL_UP3_LP4_MICRON 0x13
14 /* TGL-Y Board IDs */
15 #define TGL_UP4_LP4_SAMSUNG 0x5
16 #define TGL_UP4_LP4_HYNIX 0xD
17 #define TGL_UP4_LP4_MICRON 0x15
20 * Returns board information (board id[15:8] and
21 * Fab info[7:0]) on success and < 0 on error
23 int get_board_id(void);
25 #endif /* _MAINBOARD_COMMON_BOARD_ID_H_ */