summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-05-02 08:46:48 -0600
committerSimon Glass <sjg@chromium.org>2025-05-30 09:49:32 +0100
commitbebc3547b22001e61a24d42e5404c5273b9ea073 (patch)
tree0411a96f54d1862aa09069ffc8ec0b77bb0919aa
parent3c35fb03d59e1aca4670a813a3bf83aa5ea48317 (diff)
expo: Drop the gap between groups of menu items
The gap is intended to separate options which are on different bootdevs, but most of the time there is only one. So drop this gap. Keep the code around in case it becomes useful to have it in the style, or based on some other mechanism. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--boot/bootflow_menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c
index 7b44b6439b6..6e2d83406f2 100644
--- a/boot/bootflow_menu.c
+++ b/boot/bootflow_menu.c
@@ -117,6 +117,9 @@ int bootflow_menu_add(struct expo *exp, struct bootflow *bflow, int seq,
}
add_gap = priv->last_bootdev != bflow->dev;
+
+ /* disable this gap for now, since it looks a little ugly */
+ add_gap = false;
priv->last_bootdev = bflow->dev;
ret = expo_str(exp, "prompt", STR_POINTER, ">");