fix up for serial post

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1454 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich 2004-03-19 21:01:49 +00:00
parent 826c381038
commit 7f84586756
1 changed files with 3 additions and 2 deletions

View File

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