[Concept,00/16] boot: Separate out the boot-menu style

Message ID 20251014111301.1059317-1-sjg@chromium.org
Headers
Series boot: Separate out the boot-menu style |

Message

Simon Glass Oct. 14, 2025, 11:12 a.m. UTC
  This series refactors the boot menu so that it is possible to create the
items and then (later) change the style/position to the simple style.
This allows swapping back and forth between a different style and the
simple style.

It also adjusts how the mouse is set up, so that the initial mouse
position is only set up once the video device is known. This allows the
position to be centred on the display, a better starting point than the
top left.


Simon Glass (16):
  scripts: build-efi: Use the USB mouse
  video: Report failure to write a frame to a file
  expo: Check the mouse once the video device is known
  expo: Avoid setting SCENEOF_SIZE_VALID with calculated size
  expo: Avoid setting SCENEOF_SIZE_VALID with menu items
  expo: Allow applying the theme to just the display
  expo: Clarify that text objects are not string IDs
  mouse: Place mouse in the middle of the display
  boot: Split out setting menu properties from menu creation
  boot: Move prompt strings into bootflow_menu_set_props()
  boot: Hide unwanted objects and show the menu pointer
  boot: Add the distro version and box into the menu
  boot: Move text for desc and label items to after setup
  boot: Explicitly request that the menu position its objects
  boot: Explicitly set up the theme with the boot menu
  boot: Set the item properties with the boot menu

 boot/bootflow_menu.c         | 204 ++++++++++++++++++++++++++---------
 boot/expo.c                  |  32 +++---
 boot/scene.c                 |  19 ++--
 boot/scene_menu.c            |  13 +--
 drivers/input/mouse-uclass.c |   2 +
 include/bootflow.h           |  14 +++
 include/expo.h               |  23 +++-
 include/mouse.h              |   2 +
 scripts/build-efi            |   2 +-
 test/dm/video.c              |   7 +-
 10 files changed, 235 insertions(+), 83 deletions(-)