menu: always show the menu regardless of the number of entry
[platform/kernel/u-boot.git] / common / menu.c
index 5fb2ffb..b577d80 100644 (file)
@@ -271,7 +271,7 @@ int menu_get_choice(struct menu *m, void **choice)
        if (!m || !choice)
                return -EINVAL;
 
-       if (!m->prompt || m->item_cnt == 1)
+       if (!m->prompt)
                return menu_default_choice(m, choice);
 
        return menu_interactive_choice(m, choice);