summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/Makefile.inc2
-rw-r--r--src/pc80/serial.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/pc80/Makefile.inc b/src/pc80/Makefile.inc
index 358c221856..5ed40b3802 100644
--- a/src/pc80/Makefile.inc
+++ b/src/pc80/Makefile.inc
@@ -4,7 +4,7 @@ obj-y += i8259.o
obj-$(CONFIG_UDELAY_IO) += udelay_io.o
obj-y += keyboard.o
-#initobj-y += serial.o
+initobj-$(CONFIG_USE_DCACHE_RAM) += serial.o
subdirs-y += vga
$(obj)/pc80/mc146818rtc.o : $(OPTION_TABLE_H)
diff --git a/src/pc80/serial.c b/src/pc80/serial.c
index b4d0542824..396a41914e 100644
--- a/src/pc80/serial.c
+++ b/src/pc80/serial.c
@@ -1,4 +1,5 @@
#include <lib.h> /* Prototypes */
+#include <arch/io.h>
/* Base Address */
#ifndef CONFIG_TTYS0_BASE