diff options
author | Vic Yang <victoryang@chromium.org> | 2014-10-23 16:03:09 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-24 03:02:16 +0000 |
commit | e1a6096dbe6cbdd21bc5d1a9ee6759b516ddbc73 (patch) | |
tree | bcd5050d1d5fa21f740379d9b84cfec82d0aa7fe | |
parent | 791ead7abac8ce120b5808d6e8b15dc5122a6fd6 (diff) | |
download | chrome-ec-e1a6096dbe6cbdd21bc5d1a9ee6759b516ddbc73.tar.gz |
ryu: properly enable UART Rx DMA for P2 boards
We defined the DMA channel for UART Rx DMA to use, but we didn't
actually enable it.
BRANCH=None
BUG=chrome-os-partner:32660
TEST=Check the console is still responsive
Change-Id: I0dcbeeccb3a4213305c84ec5238e6e9dbee09b33
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/225280
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/ryu_p2/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/ryu_p2/board.h b/board/ryu_p2/board.h index 928e768398..764e48db15 100644 --- a/board/ryu_p2/board.h +++ b/board/ryu_p2/board.h @@ -36,6 +36,7 @@ #define CONFIG_INDUCTIVE_CHARGING #undef CONFIG_HIBERNATE #undef CONFIG_UART_TX_DMA /* DMAC_CH7 is used by USB PD */ +#define CONFIG_UART_RX_DMA #define CONFIG_UART_RX_DMA_CH STM32_DMAC_USART2_RX /* |