diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-05-29 23:11:42 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-23 01:10:42 -0400 |
commit | 072a5cff2fcaa4648c98bea6d549fac7ee4174fe (patch) | |
tree | 923b3e6884834ca3f662150302f21a7d4bf15a94 | |
parent | b648072d3ef5d68cc9fa392dae19f8adc82231b7 (diff) |
Blackfin: time: replace magic numbers with defines
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | arch/blackfin/kernel/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c index 8d73724c0092..ceb2bf63dfe2 100644 --- a/arch/blackfin/kernel/time.c +++ b/arch/blackfin/kernel/time.c | |||
@@ -51,7 +51,7 @@ void __init setup_core_timer(void) | |||
51 | u32 tcount; | 51 | u32 tcount; |
52 | 52 | ||
53 | /* power up the timer, but don't enable it just yet */ | 53 | /* power up the timer, but don't enable it just yet */ |
54 | bfin_write_TCNTL(1); | 54 | bfin_write_TCNTL(TMPWR); |
55 | CSYNC(); | 55 | CSYNC(); |
56 | 56 | ||
57 | /* the TSCALE prescaler counter */ | 57 | /* the TSCALE prescaler counter */ |
@@ -64,7 +64,7 @@ void __init setup_core_timer(void) | |||
64 | /* now enable the timer */ | 64 | /* now enable the timer */ |
65 | CSYNC(); | 65 | CSYNC(); |
66 | 66 | ||
67 | bfin_write_TCNTL(7); | 67 | bfin_write_TCNTL(TAUTORLD | TMREN | TMPWR); |
68 | } | 68 | } |
69 | #endif | 69 | #endif |
70 | 70 | ||