default y
help
Support an interactive boot menu at end of post.
- config BOOTMENU_WAIT
- depends on BOOTMENU
- int "Bootmenu delay"
- default 2500
- help
- Amount of time (in ms) to wait at menu before selecting normal boot.
config BOOTSPLASH
depends on BOOTMENU
bool "Graphical boot splash screen"
* Boot menu and BCV execution
****************************************************************/
+#define DEFAULT_BOOTMENU_WAIT 2500
+
// Show IPL option menu.
static void
interactive_bootmenu(void)
printf("Press F12 for boot menu.\n\n");
+ u32 menutime = romfile_loadint("etc/boot-menu-wait", DEFAULT_BOOTMENU_WAIT);
enable_bootsplash();
- int scan_code = get_keystroke(CONFIG_BOOTMENU_WAIT);
+ int scan_code = get_keystroke(menutime);
disable_bootsplash();
if (scan_code != 0x86)
/* not F12 */