support for SERIAL_POST (i.e. post to serial port as well as post port)

This commit is contained in:
Ronald G. Minnich 2000-11-30 04:50:27 +00:00
commit f6e3094a96
2 changed files with 4 additions and 0 deletions

View file

@ -10,6 +10,7 @@ CPUFLAGS += -DINBUF_COPY
CPUFLAGS += -DUSE_DOC_MIL
CPUFLAGS += -DCMD_LINE='"root=/dev/hda5 single"'
CPUFLAGS += -DFINAL_MAINBOARD_FIXUP
CPUFLAGS += -DSERIAL_POST
LINUX =$(TOP)/linux-2.4.0-test11-linuxbios

View file

@ -121,6 +121,9 @@ void error(char errmsg[])
void intel_post(char value)
{
outb(value, 0x80);
#ifdef SERIAL_POST
printk(KERN_INFO "POST: 0x%02x\n", value);
#endif
}
void intel_cache_on(unsigned long base, unsigned long totalram)