summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/init.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/console/init.c b/src/console/init.c
index 3dbf014919..e638216d1c 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -47,8 +47,14 @@ void console_init(void)
console_hw_init();
-#if defined(__PRE_RAM__)
- printk(BIOS_INFO, "\n\ncoreboot-%s%s %s starting...\n",
- coreboot_version, coreboot_extra_version, coreboot_build);
+ printk(BIOS_INFO, "\n\ncoreboot-%s%s %s %s starting...\n",
+ coreboot_version, coreboot_extra_version, coreboot_build,
+#if defined(__BOOT_BLOCK__)
+ "bootblock"
+#elif defined(__PRE_RAM__)
+ "romstage"
+#else
+ "ramstage"
#endif
+ );
}