]> git.ipfire.org Git - thirdparty/u-boot.git/commit
expo: Split bootflow_menu_run() into two pieces
authorSimon Glass <sjg@chromium.org>
Fri, 2 May 2025 14:46:27 +0000 (08:46 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 30 May 2025 08:49:32 +0000 (09:49 +0100)
commitb991a0c8bf30095837b096acd691e0d2add07b8c
treec747f676d09bc5838476b82cd30f613163d1529b
parent509852111422454117561c3d4aa4827270ca68d4
expo: Split bootflow_menu_run() into two pieces

Split the starting piece of this function into bootflow_menu_start()
and the polling part into bootflow_menu_poll() so that it is possible
for the caller to be in control of the event loop.

Move the expo_destroy() call into the caller.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootflow_menu.c
cmd/bootflow.c
include/bootflow.h