Tom Rini eb00c71050 Merge patch series "bootm: Clean up arch-specific, pre-OS clean-up"
Simon Glass <sjg@chromium.org> says:

Each arch does something slightly different before booting the OS. Some
archs even do different things depending on the CPU type.

It is quite hard to know what actually happens in the final milliseconds
before the OS boot.

This series attempts to start cleaning up U-Boot in this area.

The basic intent is to create a new bootm_final() function which can be
called by all archs. It provides some flags for a couple of necessary
variations but otherwise it is generic.

All architectures are converted over to use this new function.

board_quiesce_devices() is moved into bootm_final() so that all archs
benefit from it.

This series fixes a bug in device_remove() is fixed where removing a
parent with specialised flags (e.g. DM_REMOVE_ACTIVE_ALL) could leave
children activated, since they do not match the flags. This fixes is
needed to avoid bootm_final() causing test failures on sandbox.

Future work could take this a little further:
- Convert EFI loader to use the same function
- Improve comments for cleanup_before_linux() across architectures
- Support fake-run tracing on all archs

Link: https://lore.kernel.org/r/20260306023638.2678886-1-sjg@chromium.org
2026-03-18 18:36:50 -06:00
..
2026-03-16 18:44:00 -03:00
2026-03-09 15:26:34 -06:00
2026-03-09 15:26:34 -06:00
2026-03-09 15:26:34 -06:00
2026-03-18 13:07:36 -06:00
2026-03-09 15:26:34 -06:00
2026-03-16 18:44:00 -03:00
2026-03-09 15:26:34 -06:00
2026-03-09 15:26:34 -06:00
2026-01-14 16:25:09 +01:00
2026-03-09 15:26:34 -06:00
2026-03-16 08:22:58 -06:00
2026-03-09 15:26:34 -06:00
2026-03-09 15:26:34 -06:00