From fbefbbca1ef380d41478d7616d5b5d4b0b25c4b6 Mon Sep 17 00:00:00 2001 From: Vic Yang Date: Fri, 17 Oct 2014 15:23:55 -0700 Subject: stm32: Support UART DMA on UART2 This adds the DMA channel definition for UART2 and allows selection of DMA channel for UART. BRANCH=None BUG=chrome-os-partner:32660 TEST=With the CLs to enable the new Ryu boards, check the console is working. Change-Id: I964c284899777dda67c264e622aea6aba752ea76 Signed-off-by: Vic Yang Reviewed-on: https://chromium-review.googlesource.com/224176 Reviewed-by: Vincent Palatin --- include/config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/config.h b/include/config.h index ba9efeb4c7..23f799f8a6 100644 --- a/include/config.h +++ b/include/config.h @@ -1023,6 +1023,10 @@ /* Use DMA for UART output */ #undef CONFIG_UART_TX_DMA +/* The DMA channel for UART. If not defined, default to UART1. */ +#undef CONFIG_UART_TX_DMA_CH +#undef CONFIG_UART_RX_DMA_CH + /*****************************************************************************/ /* USB PD config */ -- cgit v1.2.1