mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
m68k: m680x0: Initialise the debug uart
Once the stack is ready we can init the debug uart to help with debugging so do that. Signed-off-by: Daniel Palmer <daniel@0x0f.com> Acked-by: Angelo Dureghello <angelo@kernel-space.org>
This commit is contained in:
@@ -42,6 +42,11 @@ ENTRY(_start)
|
||||
/* Setup initial stack pointer */
|
||||
move.l #CFG_SYS_INIT_SP_ADDR, %sp
|
||||
|
||||
/* Setup the debug uart if enabled */
|
||||
#ifdef CONFIG_DEBUG_UART
|
||||
bsr.l debug_uart_init
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Allocate Global Data (GD)
|
||||
* board_init_f_alloc_reserve(top) returns the new top of stack in %d0
|
||||
|
||||
Reference in New Issue
Block a user