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/include/assert.h | 4 ++-- src/include/cpu/x86/bist.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/assert.h b/src/include/assert.h index 095023a821..3bd6be972d 100644 --- a/src/include/assert.h +++ b/src/include/assert.h @@ -48,13 +48,13 @@ /* GCC and CAR versions */ #define ASSERT(x) { \ if (!(x)) { \ - printk_emerg("ASSERTION FAILED: file '%s', " \ + printk(BIOS_EMERG, "ASSERTION FAILED: file '%s', " \ " line %d\n", __FILE__, __LINE__); \ /* die(""); */ \ } \ } #define BUG() { \ - printk_emerg("BUG ENCOUNTERED: SYSTEM HALTED at file '%s', " \ + printk(BIOS_EMERG, "BUG ENCOUNTERED: SYSTEM HALTED at file '%s', " \ " line %d\n", __FILE__, __LINE__); \ /* die(""); */ \ } diff --git a/src/include/cpu/x86/bist.h b/src/include/cpu/x86/bist.h index c6cd7349fb..153b39e22c 100644 --- a/src/include/cpu/x86/bist.h +++ b/src/include/cpu/x86/bist.h @@ -5,7 +5,7 @@ static void report_bist_failure(u32 bist) { if (bist != 0) { #if CONFIG_USE_PRINTK_IN_CAR - printk_emerg("BIST failed: %08x", bist); + printk(BIOS_EMERG, "BIST failed: %08x", bist); #else print_emerg("BIST failed: "); print_emerg_hex32(bist); -- cgit v1.2.3