[coreboot] [commit] r6187 - trunk/src/devices

repository service svn at coreboot.org
Fri Dec 17 00:52:05 CET 2010


Author: stepan
Date: Fri Dec 17 00:52:04 2010
New Revision: 6187
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6187

Log:
don't hardcode CONFIG_PC80_SYSTEM
Signed-off-by: Stefan Reinauer <stepan at coreboot.org>
Acked-by: Stefan Reinauer <stepan at coreboot.org>

Modified:
   trunk/src/devices/pci_device.c

Modified: trunk/src/devices/pci_device.c
==============================================================================
--- trunk/src/devices/pci_device.c	Fri Dec 17 00:37:17 2010	(r6186)
+++ trunk/src/devices/pci_device.c	Fri Dec 17 00:52:04 2010	(r6187)
@@ -48,7 +48,6 @@
 #if CONFIG_CARDBUS_PLUGIN_SUPPORT == 1
 #include <device/cardbus.h>
 #endif
-#define CONFIG_PC80_SYSTEM 1
 #if CONFIG_PC80_SYSTEM == 1
 #include <pc80/i8259.h>
 #endif
@@ -1262,9 +1261,11 @@
 		printk(BIOS_DEBUG, "  Readback = %d\n", irq);
 #endif
 
+#if CONFIG_PC80_SYSTEM == 1
 		/* Change to level triggered. */
 		i8259_configure_irq_trigger(pIntAtoD[line - 1],
 					    IRQ_LEVEL_TRIGGERED);
+#endif
 	}
 }
 #endif




More information about the coreboot mailing list