summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-05-08 09:14:51 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-05-08 09:14:51 +0000
commit12584e2bd2ec7ab1ed60dc524574c8ae04dc17d6 (patch)
tree3ce28ab0588aff88ca74bb3281be61bbbd703c4c /src/pc80
parent66e5bbe45fac014fb6e49c03fab453f0e866dad6 (diff)
Drop console/console.c and pc80/serial.c from mainboards'
romstage.c. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5528 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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