diff options
author | Greg Ungerer <gerg@uclinux.org> | 2009-05-06 00:25:40 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-09-15 19:43:48 -0400 |
commit | 91b1b94f88219ea1b747264f4f6995a1202566cb (patch) | |
tree | 5f1df8572db719aad7fb376737cb7f7efcacf171 /arch/m68knommu | |
parent | f1a59d244abd8d7b94b90f45ee5e0988e5a154cb (diff) |
m68knommu: remove timer device interrupt setup for ColdFire 532x
With fully implemented interrupt controller code we don't need to do
the custom interrupt setup for the timer device of the ColdFire 532x.
Remove that code.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/platform/532x/config.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/m68knommu/platform/532x/config.c b/arch/m68knommu/platform/532x/config.c index 3d5855995888..66e212b58b85 100644 --- a/arch/m68knommu/platform/532x/config.c +++ b/arch/m68knommu/platform/532x/config.c | |||
@@ -128,20 +128,6 @@ static void __init m532x_fec_init(void) | |||
128 | 128 | ||
129 | void mcf_settimericr(unsigned int timer, unsigned int level) | 129 | void mcf_settimericr(unsigned int timer, unsigned int level) |
130 | { | 130 | { |
131 | volatile unsigned char *icrp; | ||
132 | unsigned int icr; | ||
133 | unsigned char irq; | ||
134 | |||
135 | if (timer <= 2) { | ||
136 | switch (timer) { | ||
137 | case 2: irq = 33; icr = MCFSIM_ICR_TIMER2; break; | ||
138 | default: irq = 32; icr = MCFSIM_ICR_TIMER1; break; | ||
139 | } | ||
140 | |||
141 | icrp = (volatile unsigned char *) (icr); | ||
142 | *icrp = level; | ||
143 | mcf_enable_irq0(irq); | ||
144 | } | ||
145 | } | 131 | } |
146 | 132 | ||
147 | /***************************************************************************/ | 133 | /***************************************************************************/ |