m68knommu: use general interrupt controller for ColdFire 520x family
authorGreg Ungerer <gerg@uclinux.org>
Mon, 27 Apr 2009 05:09:29 +0000 (15:09 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 15 Sep 2009 23:43:39 +0000 (09:43 +1000)
commitcd3dd4068db5e1258a14b63e0feaf0332640d896
tree07b28dab223d4a19eedb517d2792aba7753ecb0b
parent584320156b7e42e74105ca78bdf895d2b0269251
m68knommu: use general interrupt controller for ColdFire 520x family

Create general interrupt controller code for the ColdFire 520x family,
that does proper masking and unmasking of interrupts. With this in
place some of the driver hacks in place to support ColdFire interrupts
can finally go away.

Within the ColdFire family there is a variety of different interrupt
controllers in use. Some are used on multiple parts, some on only one.
There is quite some differences in some varients, so much so that
common code for all ColdFire parts would be impossible.

This commit introduces code to support one of the newer interrupt
controllers in the ColdFire 5208 and 5207 parts. It has very simple
mask and unmask operations, so is one of the easiest to support.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/m520xsim.h
arch/m68knommu/kernel/irq.c
arch/m68knommu/platform/coldfire/Makefile
arch/m68knommu/platform/coldfire/intc-simr.c [new file with mode: 0644]