[PATCH v2 2/3] m68k: m680x0: Initialise the debug uart
Angelo Dureghello
angelo at kernel-space.org
Tue Mar 10 09:31:47 CET 2026
Acked-by: Angelo Dureghello <angelo at kernel-space.org>
On 3/10/26 06:58, Kuan-Wei Chiu wrote:
> +Cc Angelo since this touches arch/m68k/
>
> On Mon, Mar 09, 2026 at 07:51:09PM +0900, Daniel Palmer wrote:
>> Once the stack is ready we can init the debug uart to help
>> with debugging so do that.
>>
>> Signed-off-by: Daniel Palmer <daniel at 0x0f.com>
>> ---
>> arch/m68k/cpu/m680x0/start.S | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/m68k/cpu/m680x0/start.S b/arch/m68k/cpu/m680x0/start.S
>> index 0802ca1fca2c..fdfcd66f7785 100644
>> --- a/arch/m68k/cpu/m680x0/start.S
>> +++ b/arch/m68k/cpu/m680x0/start.S
>> @@ -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
>> --
>> 2.51.0
>>
-- Angelo
More information about the U-Boot
mailing list