[RFC PATCH v1 1/7] efi_loader: make efi_exit_boot_services() call bootstage_report()

Tom Rini trini at konsulko.com
Fri Apr 11 20:46:11 CEST 2025


On Fri, Apr 11, 2025 at 12:32:12PM -0600, Simon Glass wrote:
> Hi Jerome,
> 
> On Fri, 11 Apr 2025 at 09:31, Jerome Forissier
> <jerome.forissier at linaro.org> wrote:
> >
> > CONFIG_BOOTSTAGE_REPORT is currently supported in the bootm command
> > only. Add support to the EFI boot.
> >
> > Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>
> > ---
> >
> >  lib/efi_loader/efi_boottime.c | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >
> 
> If you have time, could you take a look at unifying
> announce_and_cleanup() with the duplicate code in EFI?

And the duplicating code in arch/{arm,x86,riscv}. Maybe there's some
good place we can stick the bootstage calls, board_quiesce_devices() and
dm_remove_devices_active(). But maybe not, I'm not sure honestly.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250411/ae4262e4/attachment.sig>


More information about the U-Boot mailing list