Example how simple it is to use printk instead of printk_something in
coreboot ram stage.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4450 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c
index 058be24..a054340 100644
--- a/src/boot/hardwaremain.c
+++ b/src/boot/hardwaremain.c
@@ -25,7 +25,6 @@
* C Bootstrap code for the coreboot
*/
-
#include <console/console.h>
#include <version.h>
#include <device/device.h>
@@ -62,7 +61,7 @@
post_code(0x39);
- printk_notice("coreboot-%s%s %s %s...\n",
+ printk(BIOS_NOTICE, "coreboot-%s%s %s %s...\n",
coreboot_version, coreboot_extra_version, coreboot_build,
(boot_complete)?"rebooting":"booting");
@@ -113,6 +112,6 @@
elfboot(lb_mem);
#endif
#endif
- printk_err("Boot failed.\n");
+ printk(BIOS_ERR, "Boot failed.\n");
}