Blackfin: time: replace magic numbers with defines
[deliverable/linux.git] / arch / blackfin / kernel / time.c
index 8d73724c0092a79f14555b8f8d0fdb54069b9425..ceb2bf63dfe200c091e8276bb322a3cf01c75da6 100644 (file)
@@ -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
 
This page took 0.036155 seconds and 5 git commands to generate.