From patchwork Mon Apr 25 20:06:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Initialize i8259 in i82371eb southbridge code Date: Mon, 25 Apr 2011 20:06:40 -0000 From: Stefan Reinauer X-Patchwork-Id: 2915 Message-Id: <20110425200640.GA6337@coreboot.org> To: coreboot@coreboot.org This should allow to get rid of a hack when running u-boot as a coreboot payload. Stefan Acked-by: Peter Stuge Initialize i8259 in the i82371eb southbridge (isa/lpc) code. All southbridges should do this, yet almost none do. Signed-off-by: Stefan Reinauer 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 #include #include +#include #include #include #include @@ -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