Allow building images with different prefixes (ie. normal/romstage,
helloWorld/romstage, ...). It defaults to fallback/, so there's no user visible change now. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5102 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -103,11 +103,7 @@ void hardwaremain(int boot_complete)
|
||||
* write our configuration tables.
|
||||
*/
|
||||
lb_mem = write_tables();
|
||||
#if CONFIG_USE_FALLBACK_IMAGE == 1
|
||||
cbfs_load_payload(lb_mem, "fallback/payload");
|
||||
#else
|
||||
cbfs_load_payload(lb_mem, "normal/payload");
|
||||
#endif
|
||||
cbfs_load_payload(lb_mem, CONFIG_CBFS_PREFIX "/payload");
|
||||
printk(BIOS_ERR, "Boot failed.\n");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user