summaryrefslogtreecommitdiff
path: root/arch/mn10300/unit-asb2364/unit-init.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2010-10-27 20:28:58 +0400
committerDavid Howells <dhowells@redhat.com>2010-10-27 20:28:58 +0400
commit6044cf1d9426dfd5cdc1e7b9cf8eaed6418e1ff6 (patch)
tree3f6f209d37328ce1635df8f5d0b5df1cef1afe30 /arch/mn10300/unit-asb2364/unit-init.c
parent730c1fad0ee22a170d2ee76a904709ee304931c0 (diff)
downloadlinux-6044cf1d9426dfd5cdc1e7b9cf8eaed6418e1ff6.tar.xz
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>
Diffstat (limited to 'arch/mn10300/unit-asb2364/unit-init.c')
-rw-r--r--arch/mn10300/unit-asb2364/unit-init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mn10300/unit-asb2364/unit-init.c b/arch/mn10300/unit-asb2364/unit-init.c
index a3fc09b43f84..11440803db10 100644
--- a/arch/mn10300/unit-asb2364/unit-init.c
+++ b/arch/mn10300/unit-asb2364/unit-init.c
@@ -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();
}