summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-stm32f7/stm32_periph.h
diff options
context:
space:
mode:
authorToshifumi NISHINAGA <tnishinaga.dev@gmail.com>2016-07-08 01:02:26 +0900
committerTom Rini <trini@konsulko.com>2016-07-14 18:22:44 -0400
commit4b2fd720a7b2f78c42d1565edf4c67f378c65440 (patch)
tree97c496a53008f138475a3991ac4c0ed3920ce26e /arch/arm/include/asm/arch-stm32f7/stm32_periph.h
parent25c1b1353ce4b8188de6058f9f3b0d5d2dad8230 (diff)
downloadu-boot-imx-4b2fd720a7b2f78c42d1565edf4c67f378c65440.zip
u-boot-imx-4b2fd720a7b2f78c42d1565edf4c67f378c65440.tar.gz
u-boot-imx-4b2fd720a7b2f78c42d1565edf4c67f378c65440.tar.bz2
stm32: Change USART port to USART6 for stm32f746 discovery board
This change is to remove a halt at about 200KiB while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter. However, it seems to loss some data occasionally. So I changed the serial port to USART6 and connected it to the PC using an FTDI USB-Serial cable, therefore the transmission was successfully completed. Signed-off-by: Toshifumi NISHINAGA <tnishinaga.dev@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-stm32f7/stm32_periph.h')
-rw-r--r--arch/arm/include/asm/arch-stm32f7/stm32_periph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-stm32f7/stm32_periph.h b/arch/arm/include/asm/arch-stm32f7/stm32_periph.h
index 38adc4e..0bd4695 100644
--- a/arch/arm/include/asm/arch-stm32f7/stm32_periph.h
+++ b/arch/arm/include/asm/arch-stm32f7/stm32_periph.h
@@ -17,11 +17,13 @@
enum periph_id {
UART1_GPIOA_9_10 = 0,
UART2_GPIOD_5_6,
+ UART6_GPIOC_6_7,
};
enum periph_clock {
USART1_CLOCK_CFG = 0,
USART2_CLOCK_CFG,
+ USART6_CLOCK_CFG,
GPIO_A_CLOCK_CFG,
GPIO_B_CLOCK_CFG,
GPIO_C_CLOCK_CFG,