diff options
Diffstat (limited to 'board/kukui_scp/board.h')
-rw-r--r-- | board/kukui_scp/board.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/board/kukui_scp/board.h b/board/kukui_scp/board.h index 7c0eca93c4..0f812fe137 100644 --- a/board/kukui_scp/board.h +++ b/board/kukui_scp/board.h @@ -8,6 +8,13 @@ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H +/* board revision */ +#define BOARD_REV 2 + +#if BOARD_REV < 1 || BOARD_REV > 2 +#error "Board revision out of range" +#endif + #define CONFIG_FLASH_SIZE 0x40000 /* Image file size: 256KB */ #undef CONFIG_LID_SWITCH #undef CONFIG_FW_INCLUDE_RO @@ -40,8 +47,13 @@ * 2 - share with AP UART0 */ #define CONFIG_UART_CONSOLE 0 +#if BOARD_REV <= 1 #define UART0_PINMUX_11_12 #undef UART0_PINMUX_110_112 +#else +#undef UART0_PINMUX_11_12 +#define UART0_PINMUX_110_112 +#endif /* * Allow dangerous commands all the time, since we don't have a write protect |