hardwaremain: drop boot_complete parameter
it has been unused since 9 years or so, hence drop it. Change-Id: I0706feb7b3f2ada8ecb92176a94f6a8df53eaaa1 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/3212 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
This commit is contained in:
committed by
Ronald G. Minnich
parent
758076cceb
commit
2a3c10677f
@ -444,7 +444,7 @@ static void boot_state_schedule_static_entries(void)
|
||||
}
|
||||
}
|
||||
|
||||
void hardwaremain(int boot_complete)
|
||||
void hardwaremain(void)
|
||||
{
|
||||
timestamp_stash(TS_START_RAMSTAGE);
|
||||
post_code(POST_ENTRY_RAMSTAGE);
|
||||
@ -454,17 +454,11 @@ void hardwaremain(int boot_complete)
|
||||
|
||||
post_code(POST_CONSOLE_READY);
|
||||
|
||||
printk(BIOS_NOTICE, "coreboot-%s%s %s %s...\n",
|
||||
coreboot_version, coreboot_extra_version, coreboot_build,
|
||||
(boot_complete)?"rebooting":"booting");
|
||||
printk(BIOS_NOTICE, "coreboot-%s%s %s booting...\n",
|
||||
coreboot_version, coreboot_extra_version, coreboot_build);
|
||||
|
||||
post_code(POST_CONSOLE_BOOT_MSG);
|
||||
|
||||
/* If we have already booted attempt a hard reboot */
|
||||
if (boot_complete) {
|
||||
hard_reset();
|
||||
}
|
||||
|
||||
/* Schedule the static boot state entries. */
|
||||
boot_state_schedule_static_entries();
|
||||
|
||||
|
Reference in New Issue
Block a user