From e1a6096dbe6cbdd21bc5d1a9ee6759b516ddbc73 Mon Sep 17 00:00:00 2001 From: Vic Yang Date: Thu, 23 Oct 2014 16:03:09 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/225280 Reviewed-by: Vincent Palatin --- board/ryu_p2/board.h | 1 + 1 file changed, 1 insertion(+) 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 /* -- cgit v1.2.1