[SeaBIOS] [PATCH] skip interactive boot menu if only one boot device present
Kevin O'Connor
kevin at koconnor.net
Sat Apr 30 16:57:13 CEST 2011
On Sat, Apr 30, 2011 at 10:19:25AM +0200, Sven Schnelle wrote:
> There's no point in presenting a menu to the user if there's
> only one option to choose from. In that case skip this menu
> to save some waiting time during boot.
[...]
> + /* If we have only one bootdevice,
> + skip interactive menu */
> + if (!BootList->next)
> + return;
BootList can be NULL here, so this isn't correct.
In any case, I don't think making a special case for bootlist==1 is a
good idea.
What's the reason you would not like to show the boot menu? Can you
obtain the same by disabling CONFIG_BOOTMENU?
-Kevin
More information about the SeaBIOS
mailing list