mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
Blackfin: time: replace magic numbers with defines
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
b648072d3e
commit
072a5cff2f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user