expo: Split setting up the menu from adding items
authorSimon Glass <sjg@chromium.org>
Fri, 2 May 2025 14:46:56 +0000 (08:46 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 30 May 2025 08:49:33 +0000 (09:49 +0100)
commitf769735f88fe8d864a895b275b4148616ffe2a29
tree3d7940c0a7baec9dd430231f25ac0f4856491581
parent06a9d88e4d887ea4c7395636d2cfb52948ab4112
expo: Split setting up the menu from adding items

Some callers may wish to add items later as they are discovered. Split
the setup code into its own function, to permit this.

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