In the mainboard selection, the selected mainboard is printed twice in

certain cases, this patch eliminates the second mention.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4632 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Patrick Georgi 2009-09-14 14:15:43 +00:00
parent 77ee932a22
commit fea8a4f8d3
1 changed files with 3 additions and 0 deletions

View File

@ -506,11 +506,14 @@ static void build_conf(struct menu *menu)
if (def_menu) {
item_add_str(" (%s)", _(menu_get_prompt(def_menu)));
item_add_str(" --->");
#if 0
/* coreboot doesn't need this representation */
if (def_menu->list) {
indent += 2;
build_conf(def_menu);
indent -= 2;
}
#endif
}
return;
}