summaryrefslogtreecommitdiff
path: root/include/menu.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2012-01-16 21:13:35 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-12 10:11:24 +0100
commit317d6c57d5e9bc9d363df8e0e395058b5985882e (patch)
tree3d7f7c80c24dcd53c979a6fbf289ad56da0eed63 /include/menu.h
parente0611dd97bb38ba341b3479974eb2a3271de380e (diff)
common, menu: show menu on startup if CONFIG_MENU_SHOW is defined
show a menu on startup instead running the shell. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Jason Hobbs <jason.hobbs@calxeda.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: Jason Hobbs <jason.hobbs@calxeda.com>
Diffstat (limited to 'include/menu.h')
-rw-r--r--include/menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/menu.h b/include/menu.h
index b806a02b5dd..7af5fdb0edf 100644
--- a/include/menu.h
+++ b/include/menu.h
@@ -28,4 +28,7 @@ int menu_item_add(struct menu *m, char *item_key, void *item_data);
int menu_destroy(struct menu *m);
void menu_display_statusline(struct menu *m);
+#if defined(CONFIG_MENU_SHOW)
+int menu_show(int bootdelay);
+#endif
#endif /* __MENU_H__ */