This should allow to get rid of a hack when running u-boot as a coreboot
payload.

Stefan

Initialize i8259 in the i82371eb southbridge (isa/lpc) code. 

All southbridges should do this, yet almost none do.

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


diff --git a/src/southbridge/intel/i82371eb/isa.c b/src/southbridge/intel/i82371eb/isa.c
index d025bf2..df25d25 100644
--- a/src/southbridge/intel/i82371eb/isa.c
+++ b/src/southbridge/intel/i82371eb/isa.c
@@ -23,6 +23,7 @@
 #include <device/device.h>
 #include <device/pci.h>
 #include <device/pci_ids.h>
+#include <pc80/i8259.h>
 #include <pc80/isa-dma.h>
 #include <pc80/mc146818rtc.h>
 #include <arch/ioapic.h>
@@ -84,6 +85,9 @@ static void isa_init(struct device *dev)
 	/* Initialize ISA DMA. */
 	isa_dma_init();
 
+	/* Initialize i8259 */
+	init_i8259();
+
 #if CONFIG_IOAPIC
 	/*
 	 * Unlike most other southbridges the 82371EB doesn't have a built-in
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to