Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 072a5cff authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: time: replace magic numbers with defines

parent b648072d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -51,7 +51,7 @@ void __init setup_core_timer(void)
	u32 tcount;
	u32 tcount;


	/* power up the timer, but don't enable it just yet */
	/* power up the timer, but don't enable it just yet */
	bfin_write_TCNTL(1);
	bfin_write_TCNTL(TMPWR);
	CSYNC();
	CSYNC();


	/* the TSCALE prescaler counter */
	/* the TSCALE prescaler counter */
@@ -64,7 +64,7 @@ void __init setup_core_timer(void)
	/* now enable the timer */
	/* now enable the timer */
	CSYNC();
	CSYNC();


	bfin_write_TCNTL(7);
	bfin_write_TCNTL(TAUTORLD | TMREN | TMPWR);
}
}
#endif
#endif