Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191819
b: refs/heads/master
c: fe8e1a5
h: refs/heads/master
i:
  191817: c398e00
  191815: 5ba55a7
v: v3
  • Loading branch information
Russell King committed May 2, 2010
1 parent a7eed7e commit 6842ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e388771458b4ff3ad81ab70e390b24d069647da4
refs/heads/master: fe8e1a57f0ccdaede41618ca9ced7d746b6298d3
12 changes: 1 addition & 11 deletions trunk/arch/arm/plat-versatile/timer-sp.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,7 @@
/*
* How long is the timer interval?
*/
#define TIMER_INTERVAL (TICKS_PER_uSEC * mSEC_10)
#if TIMER_INTERVAL >= 0x100000
#define TIMER_RELOAD (TIMER_INTERVAL >> 8)
#define TIMER_DIVISOR (TIMER_CTRL_DIV256)
#elif TIMER_INTERVAL >= 0x10000
#define TIMER_RELOAD (TIMER_INTERVAL >> 4) /* Divide by 16 */
#define TIMER_DIVISOR (TIMER_CTRL_DIV16)
#else
#define TIMER_RELOAD (TIMER_INTERVAL)
#define TIMER_DIVISOR (TIMER_CTRL_DIV1)
#endif
#define TIMER_RELOAD (TICKS_PER_uSEC * mSEC_10)


static void __iomem *clksrc_base;
Expand Down

0 comments on commit 6842ee7

Please sign in to comment.