board: stm32mp1: move the function board_debug_uart_init in spl.c
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 25 May 2020 10:19:49 +0000 (12:19 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 7 Jul 2020 14:01:23 +0000 (16:01 +0200)
commit4fb46816c7e2defe01213c09742e06322a9e5f62
tree93af68fff777f284eb55fb4ddcdab359ec55662c
parent4a87fea6de30b6e9c59a5abb6da1d0d84c984d15
board: stm32mp1: move the function board_debug_uart_init in spl.c

Move the debug function board_debug_uart_init in spl.c
as the debug_uart_init() function is called in arch_cpu_init()
only for SPL and remove the board.c file.

For TFABOOT, the UART TX pin configuration is done in TF-A.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
board/st/stm32mp1/Makefile
board/st/stm32mp1/spl.c