Hi,

this patch tries to fix the breakage introduced with r4357.


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [email protected]http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

work around initobject breakage in pc80/Config.lb

Signed-off-by: Stefan Reinauer <[email protected]>

Index: src/pc80/Config.lb
===================================================================
--- src/pc80/Config.lb	(revision 4365)
+++ src/pc80/Config.lb	(working copy)
@@ -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