summaryrefslogtreecommitdiff
path: root/src/console
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/console
parent66e5bbe45fac014fb6e49c03fab453f0e866dad6 (diff)
downloadcoreboot-12584e2bd2ec7ab1ed60dc524574c8ae04dc17d6.tar.xz
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/console')
-rw-r--r--src/console/Makefile.inc1
-rw-r--r--src/console/console.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc
index 8de1a7b46a..1b04c6591c 100644
--- a/src/console/Makefile.inc
+++ b/src/console/Makefile.inc
@@ -7,6 +7,7 @@ smmobj-y += printk.o
smmobj-y += vtxprintf.o
initobj-y += vtxprintf.o
+initobj-$(CONFIG_USE_DCACHE_RAM) += console.o
driver-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.o
driver-$(CONFIG_USBDEBUG_DIRECT) += usbdebug_direct_console.o
diff --git a/src/console/console.c b/src/console/console.c
index 016c3b9664..ee7fffe6df 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -5,9 +5,9 @@
#include <console/console.h>
#include <build.h>
#include <arch/hlt.h>
+#include <arch/io.h>
#ifndef __PRE_RAM__
-#include <arch/io.h>
#include <string.h>
#include <pc80/mc146818rtc.h>