Skip to content
Snippets Groups Projects
Commit 429fa25e authored by Eugeniy Paltsev's avatar Eugeniy Paltsev Committed by Alexey Brodkin
Browse files

ARC: init debug uart in early common arc code


The debug UART is intended for use very early in U-Boot to debug
problems before serial drivers are up.

Call debug_uart_init right before board_init_f.

Signed-off-by: default avatarEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
parent 8a9dc16e
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,11 @@ ENTRY(_start) ...@@ -75,6 +75,11 @@ ENTRY(_start)
/* Initialize reserved area - note: r0 already contains address */ /* Initialize reserved area - note: r0 already contains address */
bl board_init_f_init_reserve bl board_init_f_init_reserve
#ifdef CONFIG_DEBUG_UART
/* Earliest point to set up early debug uart */
bl debug_uart_init
#endif
/* Zero the one and only argument of "board_init_f" */ /* Zero the one and only argument of "board_init_f" */
mov_s %r0, 0 mov_s %r0, 0
bl board_init_f bl board_init_f
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment