diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2019-02-26 10:36:04 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-27 04:59:13 -0800 |
commit | 4894e26bb9ce6ed5d01577608769caec59212e8c (patch) | |
tree | 47d60ae0729d288dc70e7c89ce4b2f28473aedfd /board | |
parent | 9c6375e9c30cf229137e8903f7f623b8ea3a0518 (diff) | |
download | chrome-ec-4894e26bb9ce6ed5d01577608769caec59212e8c.tar.gz |
kukui_scp: Let the AP setup the UART pinmux correctly
This helps make our images compatible between P1 and P2.
BRANCH=none
BUG=b:124341259
TEST=Flash kukui_scp on P1 and P2, UART works in both cases.
Change-Id: I8f08c37deaa4425ddf82dd6ddba18a9b60c6d147
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1488272
Reviewed-by: Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/kukui_scp/board.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/board/kukui_scp/board.h b/board/kukui_scp/board.h index 0f812fe137..bf9371bb0c 100644 --- a/board/kukui_scp/board.h +++ b/board/kukui_scp/board.h @@ -8,13 +8,6 @@ #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 @@ -47,13 +40,10 @@ * 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 + +/* We let AP setup the correct pinmux. */ #undef UART0_PINMUX_11_12 -#define UART0_PINMUX_110_112 -#endif +#undef UART0_PINMUX_110_112 /* * Allow dangerous commands all the time, since we don't have a write protect |