Commit Graph

7 Commits

Author SHA1 Message Date
Simon Glass
781e013812 bootctl: Add an option to switch the layout
Provide an operation to switch to a different layout, for use with the
upcoming 'multi' UI.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-10-18 09:38:25 +01:00
Simon Glass
9958f7779d bootctl: Re-apply the theme when showing the UI
If a different UI is used then the theme may have changed, so re-apply
the theme when showing the UI.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-10-18 09:38:25 +01:00
Simon Glass
45f0c19d32 bootctl: Respect the autoboot option
When autoboot is disabled, hide the prompt.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-10-18 09:38:25 +01:00
Simon Glass
46a205b1ca bootctl: Provide an option to slow the display refresh
When a mouse pointer is not used, there is typically no need to refresh
the display unless something changes. Add an option to allow slow
refresh.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-10-18 09:38:25 +01:00
Simon Glass
53ca497bef bootctl: Avoid hanging on failure
For now just drop to the cmdline so that the state can be examined. This
will aid debugging.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-10-18 09:38:25 +01:00
Simon Glass
001eeb2c8d bootctl: Create a common struct for the BOOTCTL_UI uclass
All UI implementations will likely share a number of common elements, so
move these into a per-device uclass struct.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-10-18 09:38:25 +01:00
Simon Glass
d9152ea75e bootctl: Initial experimentation
This provides a basic prototype for boot control.

Some documentation is in boot/bootctl/README.rst
2025-09-28 14:32:36 -06:00