summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-05-24 09:54:25 -0400
committerTom Rini <trini@konsulko.com>2018-05-24 09:54:25 -0400
commit8730d012c9bd92d6412b3ef6e33b40c5df00f225 (patch)
treec6db406267e19a4c59e0a49565c284822ff39b6f /arch
parent7049f620002b18eef4ffc6512efafac4177e1b01 (diff)
parent0556b569e52caf3ab519c340435236e4940cc1cd (diff)
Merge tag 'arc-uart-updates-for-2018.07-rc1' of git://git.denx.de/u-boot-arc
Add support for DEBUG_UART on ARC devboards This required us to do 2 things: 1) Insert a call to debug_uart_init() in early boot code 2) Convert serial_arc to Kconfig Once both items above are done we just patched defconfigs.
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/lib/start.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arc/lib/start.S b/arch/arc/lib/start.S
index 3fb05606c7..e573ce7718 100644
--- a/arch/arc/lib/start.S
+++ b/arch/arc/lib/start.S
@@ -75,6 +75,11 @@ ENTRY(_start)
/* Initialize reserved area - note: r0 already contains address */
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" */
mov_s %r0, 0
bl board_init_f