[PATCH v3 13/17] m68k: Call bootm_final()

Angelo Dureghello angelo at kernel-space.org
Tue Mar 3 13:44:18 CET 2026


OK buildall m68k,
OK test on stmark2

Tested-by: Angelo Dureghello <angelo at kernel-space.org>
Acked-by: Angelo Dureghello <angelo at kernel-space.org>

On 2/28/26 21:20, Simon Glass wrote:
> From: Simon Glass <simon.glass at canonical.com>
> 
> Add a call to bootm_final() before jumping to the kernel. This adds
> the "Starting kernel" message, bootstage tracking,
> board_quiesce_devices() and dm_remove_devices_active() which were not
> previously called on m68k.
> 
> Signed-off-by: Simon Glass <simon.glass at canonical.com>
> 
> ---
> 
> Changes in v3:
> - Add new patch for m68k conversion
> 
>  arch/m68k/lib/bootm.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/m68k/lib/bootm.c b/arch/m68k/lib/bootm.c
> index 3dcff8076e3..7e36ac73169 100644
> --- a/arch/m68k/lib/bootm.c
> +++ b/arch/m68k/lib/bootm.c
> @@ -65,6 +65,8 @@ int do_bootm_linux(int flag, struct bootm_info *bmi)
>  
>  	bootstage_mark(BOOTSTAGE_ID_RUN_OS);
>  
> +	bootm_final(0);
> +
>  	/*
>  	 * Linux Kernel Parameters (passing board info data):
>  	 *   sp+00: Ignore, side effect of using jsr to jump to kernel

-- Angelo



More information about the U-Boot mailing list