expo: Allow adding a single bootflow to a menu
authorSimon Glass <sjg@chromium.org>
Fri, 2 May 2025 14:46:29 +0000 (08:46 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 30 May 2025 08:49:32 +0000 (09:49 +0100)
commita4ede5e0aced904efb17f3a3d5fb2c7f3c622133
tree86c5f297e69c94c778346e58f170e9933c9bc8f0
parentda754e20c99a0e611b05c74f9e28daf9cdf1a199
expo: Allow adding a single bootflow to a menu

Refactor bootflow_menu_add_all() to call a new bootflow_menu_add() to
add each of its bootflows.

Move the last_bootdev value into struct menu_priv to make this work.

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