]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
expo: Drop the gap between groups of menu items
authorSimon Glass <sjg@chromium.org>
Fri, 2 May 2025 14:46:48 +0000 (08:46 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 30 May 2025 08:49:32 +0000 (09:49 +0100)
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>
boot/bootflow_menu.c

index 7b44b6439b638f395e9d0978b30917b96d44b58b..6e2d83406f2096e95540ea9a23cc38f124241aa2 100644 (file)
@@ -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, ">");