Skip to content

Commit

Permalink
m68knommu: remove timer device interrupt setup for ColdFire 532x
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer committed Sep 15, 2009
1 parent f1a59d2 commit 91b1b94
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions arch/m68knommu/platform/532x/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,6 @@ static void __init m532x_fec_init(void)

void mcf_settimericr(unsigned int timer, unsigned int level)
{
volatile unsigned char *icrp;
unsigned int icr;
unsigned char irq;

if (timer <= 2) {
switch (timer) {
case 2: irq = 33; icr = MCFSIM_ICR_TIMER2; break;
default: irq = 32; icr = MCFSIM_ICR_TIMER1; break;
}

icrp = (volatile unsigned char *) (icr);
*icrp = level;
mcf_enable_irq0(irq);
}
}

/***************************************************************************/
Expand Down

0 comments on commit 91b1b94

Please sign in to comment.