On Thu, Mar 05, 2026 at 07:36:13PM -0700, Simon Glass wrote:

> From: Simon Glass <[email protected]>
> 
> There are various functions which announce that booting is imminent and
> do related preparation. Most of these are arch-specific.
> 
> In practice, most archs do a similar thing. It would be better to
> have a common function, with perhaps some events for things that are
> really arch- and board-specific.
> 
> Create a new bootm_final() function with the common pre-boot steps:
> printing the "Starting kernel" message, recording bootstage data,
> optionally writing bootstage to the FDT and printing a report, and
> removing active devices.
> 
> Be careful to avoid using BIT() macros which are not available with host
> tools.
> 
> Signed-off-by: Simon Glass <[email protected]>
> 

Reviewed-by: Tom Rini <[email protected]>

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to