aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/hardwaremain.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c
index 13aa512a51..99b4a069b4 100644
--- a/src/lib/hardwaremain.c
+++ b/src/lib/hardwaremain.c
@@ -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();