(trivial) add filo call back for those few mainboards that still (need to)
use the built-in filo. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4043 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
3081bdfa44
commit
61dc06c060
|
@ -89,7 +89,6 @@ void hardwaremain(int boot_complete)
|
||||||
lb_mem = write_tables();
|
lb_mem = write_tables();
|
||||||
|
|
||||||
#if CONFIG_ROMFS == 1
|
#if CONFIG_ROMFS == 1
|
||||||
printk_err("=================================================\n");
|
|
||||||
# if USE_FALLBACK_IMAGE == 1
|
# if USE_FALLBACK_IMAGE == 1
|
||||||
void (*pl)(void) = romfs_load_payload(lb_mem, "fallback/payload");
|
void (*pl)(void) = romfs_load_payload(lb_mem, "fallback/payload");
|
||||||
# else
|
# else
|
||||||
|
@ -97,12 +96,13 @@ void hardwaremain(int boot_complete)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#warning elfboot will soon be deprecated
|
#if CONFIG_FS_PAYLOAD == 1
|
||||||
|
#warning "CONFIG_FS_PAYLOAD is deprecated."
|
||||||
printk_err("Trying elfboot, but that will be gone soon!\n");
|
filo(lb_mem);
|
||||||
|
#else
|
||||||
|
#warning "elfboot will soon be deprecated."
|
||||||
elfboot(lb_mem);
|
elfboot(lb_mem);
|
||||||
|
#endif
|
||||||
printk_err("NO BOOT METHOD succeeded\n");
|
printk_err("Boot failed.\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue