summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-06-19 19:50:58 +0000
committerMyles Watson <mylesgw@gmail.com>2009-06-19 19:50:58 +0000
commit24fbb7d66f6938b942e4481d2821023fbb7cd467 (patch)
tree6d29996ddcafca07f66bd13d1278203cce9db351 /src/pc80
parent6114311c8eaabd14f524e2884316249de9d9578b (diff)
downloadcoreboot-24fbb7d66f6938b942e4481d2821023fbb7cd467.tar.xz
work around initobject breakage in pc80/Config.lb
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4366 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/Config.lb11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/pc80/Config.lb b/src/pc80/Config.lb
index 650cabdbbd..c946f8b036 100644
--- a/src/pc80/Config.lb
+++ b/src/pc80/Config.lb
@@ -18,6 +18,13 @@ dir vga
object keyboard.o
-if CONFIG_USE_INIT
- initobject serial.o
+if CONFIG_CONSOLE_SERIAL8250
+ if CONFIG_USE_INIT
+ # We should check whether we're on x86, but our
+ # config tool has a problem with that. So we check
+ # for a flag that is only used when we want this symbol:
+ if USE_DCACHE_RAM
+ initobject serial.o
+ end
+ end
end