expo: Add a way to select settings

In some cases it is useful to provide a settings scene, or perhaps just
a button to change the layout. Add support for this.
This commit is contained in:
Simon Glass
2025-10-09 15:45:55 +01:00
parent f4e3c6f418
commit e94de63e6c
6 changed files with 12 additions and 1 deletions

View File

@@ -743,7 +743,8 @@ int bootflow_menu_start(struct bootstd_priv *std, bool text_mode,
* Return: 0 if a bootflow was chosen, -EAGAIN if nothing is chosen yet, -EPIPE
* if the user quit, -EREMCHG if the expo needs refreshing, -ERESTART if
* the user tried to move to a new selection but was unable (e.g. already
* at the top and tried to move up)
* at the top and tried to move up), -ECOMM if the user requests settings
* to be opened
*/
int bootflow_menu_poll(struct expo *exp, int *seqp);