18 Oct
2025
18 Oct
'25
8:40 a.m.
From: Simon Glass <sjg@chromium.org> Implement the settings button to permit the user to switch to another UI layout, if available. Signed-off-by: Simon Glass <sjg@chromium.org> --- boot/bootflow_menu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c index 161c5a42401..26a2f559958 100644 --- a/boot/bootflow_menu.c +++ b/boot/bootflow_menu.c @@ -418,6 +418,8 @@ int bootflow_menu_poll(struct expo *exp, int *seqp) case EXPOACT_CLICK: if (act.select.id == OBJ_SETTINGS) return -ECOMM; /* layout change request */ + case EXPOACT_SETTINGS: + return -ECOMM; /* layout change request */ default: return -EAGAIN; } -- 2.43.0