snoball: Correct DMA UART channels

Snoball uses DMA2 + DMA3 for UART1 debug console. No changes are needed
to STM32_SYSCFG_CFGR1 since this is the register default config.

BUG=chrome-os-partner:47851
BRANCH=None
TEST=Boot snoball, verify EC console works in both directions.

Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: Id984b63f8c0c2d5c042265fd86b3d0c71fd68e6f
Reviewed-on: https://chromium-review.googlesource.com/313168
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
Shawn Nematbakhsh
2015-11-19 09:50:10 -08:00
committed by chrome-bot
parent 06c2b877d6
commit 8704de934e

View File

@@ -13,6 +13,9 @@
/* the UART console is on USART1 (PA9/PA10) */
#define CONFIG_UART_CONSOLE 1
/* Use DMA channels 2 + 3 (rather than default 4 + 5) */
#define CONFIG_UART_TX_DMA_CH STM32_DMAC_CH2
#define CONFIG_UART_RX_DMA_CH STM32_DMAC_CH3
#define CONFIG_USB_POWER_DELIVERY
#define CONFIG_USB_PD_ALT_MODE