diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-05-30 05:11:42 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-23 07:10:42 +0200 |
commit | 072a5cff2fcaa4648c98bea6d549fac7ee4174fe (patch) | |
tree | 923b3e6884834ca3f662150302f21a7d4bf15a94 /arch/blackfin | |
parent | Blackfin: SMP: optimize start up code a bit (diff) | |
download | linux-072a5cff2fcaa4648c98bea6d549fac7ee4174fe.tar.xz linux-072a5cff2fcaa4648c98bea6d549fac7ee4174fe.zip |
Blackfin: time: replace magic numbers with defines
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-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) 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 */ @@ -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 |