[Concept,13/18] expo: Add another logo in the bootmenu

Message ID 20251010034255.1099728-14-sjg@u-boot.org
State New
Headers
Series expo: Extend the boot menu |

Commit Message

Simon Glass Oct. 10, 2025, 3:42 a.m. UTC
  From: Simon Glass <sjg@chromium.org>

In some cases we want to show a logo other than the U-Boot one. Add a
field for this, so it can be used by layouts which need it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 boot/bootflow_internal.h | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

diff --git a/boot/bootflow_internal.h b/boot/bootflow_internal.h
index 0b17a23bfd7..b488ecc6102 100644
--- a/boot/bootflow_internal.h
+++ b/boot/bootflow_internal.h
@@ -12,6 +12,8 @@ 
 /**
  * enum boomenu_id_t - expo IDs for elements of the bootflow menu
  *
+ * @OBJ_OTHER_LOGO: Second logo (separate from the U-Boot logo)
+ *
  * The ranges below are as follows:
  *
  * @ITEM: Menu items
@@ -44,6 +46,7 @@  enum boomenu_id_t {
 	OBJ_MENU_TITLE,
 	OBJ_POINTER,
 	OBJ_AUTOBOOT,
+	OBJ_OTHER_LOGO,
 
 	/* strings for menu items */
 	STR_LABEL = 100,