mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Don't try to start Quik from hard disk if booting from the CD-ROM
(Aurelien Jarno) git-svn-id: svn://coreboot.org/openbios/openbios-devel@405 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -393,8 +393,13 @@ static void check_preloaded_kernel(void)
|
||||
void
|
||||
boot( void )
|
||||
{
|
||||
char boot_device = nvram_read(0x34);
|
||||
fword("update-chosen");
|
||||
check_preloaded_kernel();
|
||||
quik_startup();
|
||||
if (boot_device == 'm') {
|
||||
check_preloaded_kernel();
|
||||
}
|
||||
if (boot_device == 'c') {
|
||||
quik_startup();
|
||||
}
|
||||
yaboot_startup();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user