Commit 32234328 authored by Steven King's avatar Steven King Committed by Greg Ungerer

m68knommu: add definitions for the third interrupt controller on devices that...

m68knommu: add definitions for the third interrupt controller on devices that don't have a third interrupt controller.

Extending the interrupt controller code in  intc-simr.c to support the third
interrupt controller on the m5441x means we need to add defines (as 0) for the
third interrupt controller on devices that don't have a third interrupt
controller.
Signed-off-by: default avatarSteven King <sfking@fdwdc.com>
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent bea8bcb1
...@@ -42,6 +42,9 @@ ...@@ -42,6 +42,9 @@
#define MCFINTC1_SIMR (0) #define MCFINTC1_SIMR (0)
#define MCFINTC1_CIMR (0) #define MCFINTC1_CIMR (0)
#define MCFINTC1_ICR0 (0) #define MCFINTC1_ICR0 (0)
#define MCFINTC2_SIMR (0)
#define MCFINTC2_CIMR (0)
#define MCFINTC2_ICR0 (0)
#define MCFINT_VECBASE 64 #define MCFINT_VECBASE 64
#define MCFINT_UART0 26 /* Interrupt number for UART0 */ #define MCFINT_UART0 26 /* Interrupt number for UART0 */
......
...@@ -82,6 +82,9 @@ ...@@ -82,6 +82,9 @@
#define MCFINTC1_SIMR 0xFC04C01C #define MCFINTC1_SIMR 0xFC04C01C
#define MCFINTC1_CIMR 0xFC04C01D #define MCFINTC1_CIMR 0xFC04C01D
#define MCFINTC1_ICR0 0xFC04C040 #define MCFINTC1_ICR0 0xFC04C040
#define MCFINTC2_SIMR (0)
#define MCFINTC2_CIMR (0)
#define MCFINTC2_ICR0 (0)
#define MCFSIM_ICR_TIMER1 (0xFC048040+32) #define MCFSIM_ICR_TIMER1 (0xFC048040+32)
#define MCFSIM_ICR_TIMER2 (0xFC048040+33) #define MCFSIM_ICR_TIMER2 (0xFC048040+33)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment