diff options
author | Vic Yang <victoryang@chromium.org> | 2014-10-17 15:23:55 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-22 00:30:39 +0000 |
commit | fbefbbca1ef380d41478d7616d5b5d4b0b25c4b6 (patch) | |
tree | 2176c247c0b5bbc08a444f5a92bcc650e0236716 /include/config.h | |
parent | 89feca3eb34d1f6ef2e2a8227a0603c182afa348 (diff) | |
download | chrome-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.h | 4 |
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 */ |