[coreboot] [v2] r4366 - trunk/coreboot-v2/src/pc80

svn at coreboot.org svn at coreboot.org
Fri Jun 19 21:50:58 CEST 2009


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 <stepan at coresystems.de>
Acked-by: Ronald G. Minnich <rminnich at gmail.com>

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





More information about the coreboot mailing list