diff options
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 | /***************************************************************************/ |