diff options
author | Simon Glass <sjg@chromium.org> | 2023-06-01 10:22:35 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-14 12:54:51 -0400 |
commit | 14a86a510792cb8a69ded6ea3b6c34a150bae3ab (patch) | |
tree | f41cc38aa41eeec472e9baa7a1f8da094f7974d9 /boot/bootflow_menu.c | |
parent | 42b18494bdaf677c4726ef47a839b16a1a3daba2 (diff) |
expo: Avoid automatically arranging the scene
This should ideally be done once after all scene changes have been made.
Require an explicit call when everything is ready.
Always arrange after a key it sent, just for convenience.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/bootflow_menu.c')
-rw-r--r-- | boot/bootflow_menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c index 7f06dac0af..de0f445356 100644 --- a/boot/bootflow_menu.c +++ b/boot/bootflow_menu.c @@ -124,6 +124,10 @@ int bootflow_menu_new(struct expo **expp) priv->num_bootflows++; } + ret = scene_arrange(scn); + if (ret) + return log_msg_ret("arr", ret); + *expp = exp; return 0; |