MN10300: ASB2364: Handle the IRQ multiplexer in the FPGA

Handle the IRQ multiplexer in the FPGA by implementing a cascade interrupt
driver for it.

Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
David Howells
2010-10-27 17:28:58 +01:00
parent 730c1fad0e
commit 6044cf1d94
7 changed files with 165 additions and 18 deletions

View File

@@ -20,6 +20,7 @@
#include <asm/processor.h>
#include <asm/irq.h>
#include <asm/intctl-regs.h>
#include <unit/fpga-regs.h>
/*
* initialise some of the unit hardware before gdbstub is set up
@@ -82,4 +83,6 @@ void __init unit_init_IRQ(void)
#define IRQCTL __SYSREG(0xd5000090, u32)
IRQCTL |= 0x02;
irq_fpga_init();
}