projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
menu: Update bootmenu_autoboot_loop() to return the code
[platform/kernel/u-boot.git]
/
cmd
/
bootmenu.c
diff --git
a/cmd/bootmenu.c
b/cmd/bootmenu.c
index
1a14e8a
..
086d041
100644
(file)
--- a/
cmd/bootmenu.c
+++ b/
cmd/bootmenu.c
@@
-93,7
+93,7
@@
static char *bootmenu_choice_entry(void *data)
while (1) {
if (menu->delay >= 0) {
/* Autoboot was not stopped */
-
bootmenu_autoboot_loop(menu, &key
, &esc);
+
key = bootmenu_autoboot_loop(menu
, &esc);
} else {
/* Some key was pressed, so autoboot was stopped */
bootmenu_loop(menu, &key, &esc);