diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2019-02-13 11:24:03 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-14 05:27:24 -0800 |
commit | 69e7d371ff0508740a506c9a9b52c03d35ae94cc (patch) | |
tree | 422fcf8f0c9f3a55c677a90f73ec7420d7e71481 /board | |
parent | f1fcc752c69ac041ec8dfd4d77f8d415f0112e4d (diff) | |
download | chrome-ec-69e7d371ff0508740a506c9a9b52c03d35ae94cc.tar.gz |
kukui_scp: Change default board to rev2
Also, change UART to be on GPIO 110/112 on >=rev2 (it used to be
on GPIO11/12 on rev1 with rework).
BRANCH=none
BUG=b:123657432
TEST=Boot kukui, load kukui_scp, see UART after rework.
Change-Id: Ieb7eef8c507008a4514e60d4f1b7f30a3f67da6b
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1469190
Reviewed-by: Yilun Lin <yllin@chromium.org>
Reviewed-by: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'board')
-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 |