Skip to content

Commit 072a5cf

Browse files
committed
Blackfin: time: replace magic numbers with defines
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
1 parent b648072 commit 072a5cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/blackfin/kernel/time.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void __init setup_core_timer(void)
5151
u32 tcount;
5252

5353
/* power up the timer, but don't enable it just yet */
54-
bfin_write_TCNTL(1);
54+
bfin_write_TCNTL(TMPWR);
5555
CSYNC();
5656

5757
/* the TSCALE prescaler counter */
@@ -64,7 +64,7 @@ void __init setup_core_timer(void)
6464
/* now enable the timer */
6565
CSYNC();
6666

67-
bfin_write_TCNTL(7);
67+
bfin_write_TCNTL(TAUTORLD | TMREN | TMPWR);
6868
}
6969
#endif
7070

0 commit comments

Comments
 (0)