Author: myles
Date: 2009-06-19 21:50:58 +0200 (Fri, 19 Jun 2009)
New Revision: 4366

Modified:
   trunk/coreboot-v2/src/pc80/Config.lb
Log:
work around initobject breakage in pc80/Config.lb

Signed-off-by: Stefan Reinauer <[email protected]>
Acked-by: Ronald G. Minnich <[email protected]>

Modified: trunk/coreboot-v2/src/pc80/Config.lb
===================================================================
--- trunk/coreboot-v2/src/pc80/Config.lb        2009-06-19 15:41:49 UTC (rev 
4365)
+++ trunk/coreboot-v2/src/pc80/Config.lb        2009-06-19 19:50:58 UTC (rev 
4366)
@@ -18,6 +18,13 @@
 
 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


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to