git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4741b7
)
pandora menu: always add serial option
author
Grazvydas Ignotas
<notasas@gmail.com>
Wed, 16 Jun 2010 21:29:28 +0000
(
00:29
+0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Wed, 16 Jun 2010 21:29:28 +0000
(
00:29
+0300)
board/pandora/menu.c
patch
|
blob
|
history
diff --git
a/board/pandora/menu.c
b/board/pandora/menu.c
index
02216ef
..
86c1576
100644
(file)
--- a/
board/pandora/menu.c
+++ b/
board/pandora/menu.c
@@
-119,7
+119,7
@@
static void menu_init(void)
dev_desc = get_dev("mmc1", 0);
if (dev_desc == NULL) {
printf("dev desc null\n");
-
return
;
+
goto finish
;
}
/* kill stdout while we search for bootfiles */
@@
-163,6
+163,7
@@
found:
menu_items[menu_item_count++] = mitem;
}
+finish:
if (menu_item_count < ARRAY_SIZE(menu_items))
menu_items[menu_item_count++] = &default_menu_items[2];