Commit 072a5cff2fcaa4648c98bea6d549fac7ee4174fe

Authored by Mike Frysinger
1 parent b648072d3e

Blackfin: time: replace magic numbers with defines

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

arch/blackfin/kernel/time.c
... ... @@ -51,7 +51,7 @@
51 51 u32 tcount;
52 52  
53 53 /* power up the timer, but don't enable it just yet */
54   - bfin_write_TCNTL(1);
  54 + bfin_write_TCNTL(TMPWR);
55 55 CSYNC();
56 56  
57 57 /* the TSCALE prescaler counter */
... ... @@ -64,7 +64,7 @@
64 64 /* now enable the timer */
65 65 CSYNC();
66 66  
67   - bfin_write_TCNTL(7);
  67 + bfin_write_TCNTL(TAUTORLD | TMREN | TMPWR);
68 68 }
69 69 #endif
70 70