stm32mp1: Allow to activate CONFIG_DEBUG_UART
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 17 May 2018 12:50:46 +0000 (14:50 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 22:19:18 +0000 (18:19 -0400)
commit320d2663688ab8ae6932a1711365e759ea1774be
treecb1b21ce898836e6a2c1c7cfa624923ce1c96096
parentbc709a41caadc3323f912633b646cc8314c6cd01
stm32mp1: Allow to activate CONFIG_DEBUG_UART

Add the needed information to enable the debug uart
to have printf before the serial driver probe
(so before probe for clock, pincontrol and reset drivers)

To enable the debug on uart 4 (default console):
+ CONFIG_DEBUG_UART=y
+ CONFIG_DEBUG_UART_STM32=y

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/mach-stm32mp/Kconfig
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-stm32mp/include/mach/stm32.h
board/st/stm32mp1/board.c