From 24fbb7d66f6938b942e4481d2821023fbb7cd467 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 19 Jun 2009 19:50:58 +0000 Subject: work around initobject breakage in pc80/Config.lb Signed-off-by: Stefan Reinauer Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4366 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/pc80/Config.lb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3