ARM: debug: stm32: add UART early console configuration for STM32F4
authorErwan Le Ray <erwan.leray@st.com>
Mon, 3 Feb 2020 14:04:22 +0000 (15:04 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 13 Mar 2020 16:05:07 +0000 (17:05 +0100)
commit79d5cfd19d261b0e64569649b04867c8dbdcd8a9
tree8d935fb03acc929cdefad9fc28e3ea5043f55caa
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
ARM: debug: stm32: add UART early console configuration for STM32F4

Early console is hardcoded on USART1 in current implementation.
With this patch, default UART instance is USART1, but other UART instances
can be configured by setting physical and virtual base addresses in
menuconfig.

Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/Kconfig.debug
arch/arm/include/debug/stm32.S