Skip to content

Commit

Permalink
Blackfin: time: replace magic numbers with defines
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed Jul 23, 2011
1 parent b648072 commit 072a5cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/blackfin/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void __init setup_core_timer(void)
u32 tcount;

/* power up the timer, but don't enable it just yet */
bfin_write_TCNTL(1);
bfin_write_TCNTL(TMPWR);
CSYNC();

/* the TSCALE prescaler counter */
Expand All @@ -64,7 +64,7 @@ void __init setup_core_timer(void)
/* now enable the timer */
CSYNC();

bfin_write_TCNTL(7);
bfin_write_TCNTL(TAUTORLD | TMREN | TMPWR);
}
#endif

Expand Down

0 comments on commit 072a5cf

Please sign in to comment.