From bebc3547b22001e61a24d42e5404c5273b9ea073 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 2 May 2025 08:46:48 -0600 Subject: [PATCH] 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 --- boot/bootflow_menu.c | 3 +++ 1 file changed, 3 insertions(+) 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, ">"); -- 2.47.2