rk27xx: substitute magic constants with meaningful names for clock gating

Change-Id: I6c66c7496db3db78e5c959414464826134dbe200
This commit is contained in:
Marcin Bukat 2012-12-17 08:44:09 +01:00
parent 1fa406dc21
commit 2b6dfdb34e
9 changed files with 66 additions and 35 deletions

View file

@ -39,7 +39,7 @@ void tick_start(unsigned int interval_in_ms)
unsigned int cycles = 50000 * interval_in_ms;
/* enable timer clock */
SCU_CLKCFG &= ~(1<<28);
SCU_CLKCFG &= ~CLKCFG_TIMER;
/* configure timer0 */
TMR0LR = cycles;