diff options
Diffstat (limited to 'board/servo_v4/board.h')
-rw-r--r-- | board/servo_v4/board.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/board/servo_v4/board.h b/board/servo_v4/board.h index 629e19b38e..b909c72c50 100644 --- a/board/servo_v4/board.h +++ b/board/servo_v4/board.h @@ -8,6 +8,14 @@ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H +/* + * Board Versions: + * Versions are designated by the PCB color and consist of red, blue, and + * black. Only the black version has pullup resistors to distinguish its board + * id from previous versions. + */ +#define BOARD_VERSION_BLACK 3 + /* 48 MHz SYSCLK clock frequency */ #define CPU_CLOCK 48000000 @@ -194,5 +202,12 @@ int pd_tcpc_cc_ra(int port, int cc_volt, int cc_sel); */ int pd_set_rp_rd(int port, int cc_pull, int rp_value); +/** + * Get board HW ID version + * + * @return HW ID version + */ +int board_get_version(void); + #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ |