summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2004-03-19 21:01:49 +0000
committerRonald G. Minnich <rminnich@gmail.com>2004-03-19 21:01:49 +0000
commit7f845867563365bbf054a0ff1cf55bb9732e72e3 (patch)
tree4446bf699fd3112c07a3c5cfd26225cf04c20c48
parent826c38103855718191c43149fd24c50b470d96cd (diff)
downloadcoreboot-7f845867563365bbf054a0ff1cf55bb9732e72e3.tar.xz
fix up for serial post
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1454 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/console/console.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/console/console.c b/src/console/console.c
index b97ee8e1d5..90557436df 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -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
}