summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
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>