summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2014-10-17 15:23:55 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-22 00:30:39 +0000
commitfbefbbca1ef380d41478d7616d5b5d4b0b25c4b6 (patch)
tree2176c247c0b5bbc08a444f5a92bcc650e0236716 /include/config.h
parent89feca3eb34d1f6ef2e2a8227a0603c182afa348 (diff)
downloadchrome-ec-fbefbbca1ef380d41478d7616d5b5d4b0b25c4b6.tar.gz
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 <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/224176 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h4
1 files changed, 4 insertions, 0 deletions
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 */