From c02b4fc9db3c3c1e263027382697b566127f66bb Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 22 Mar 2010 11:42:32 +0000 Subject: printk_foo -> printk(BIOS_FOO, ...) Signed-off-by: Stefan Reinauer Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5266 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/console/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/console') diff --git a/src/console/console.c b/src/console/console.c index 008130fb63..4543b0c7b3 100644 --- a/src/console/console.c +++ b/src/console/console.c @@ -76,7 +76,7 @@ void post_code(uint8_t value) { #if !defined(CONFIG_NO_POST) || CONFIG_NO_POST==0 #if CONFIG_SERIAL_POST==1 - printk_emerg("POST: 0x%02x\n", value); + printk(BIOS_EMERG, "POST: 0x%02x\n", value); #endif outb(value, 0x80); #endif @@ -85,7 +85,7 @@ void post_code(uint8_t value) /* Report a fatal error */ void __attribute__((noreturn)) die(const char *msg) { - printk_emerg("%s", msg); + printk(BIOS_EMERG, "%s", msg); post_code(0xff); while (1); /* Halt */ } -- cgit v1.2.3