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:
Daniel Palmer
2026-03-09 19:51:09 +09:00
committed by Tom Rini
parent cbfb9b3f22
commit 2df4926ca4

View File

@@ -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