fix up for serial post
authorRonald G. Minnich <rminnich@gmail.com>
Fri, 19 Mar 2004 21:01:49 +0000 (21:01 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Fri, 19 Mar 2004 21:01:49 +0000 (21:01 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1454 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/console/console.c

index b97ee8e1d57fa770fa09b358fb4c7e5481302f56..90557436dfb31b944b91ee3bc4249a1e5d5f1887 100644 (file)
@@ -82,9 +82,10 @@ int console_tst_byte(void)
  */
 void post_code(uint8_t value)
 {
+#if !defined(NO_POST)
 #if CONFIG_SERIAL_POST==1
-       printk_info("POST: 0x%02x\n", value);
-#elsif !define(NO_POST)
+       printk_emerg("POST: 0x%02x\n", value);
+#endif
        outb(value, 0x80);
 #endif
 }