printk_foo -> printk(BIOS_FOO, ...)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5266 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
27852aba67
commit
c02b4fc9db
@@ -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(""); */ \
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user