Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | ARM: 6432/1: move timer-sp.c from versatile to common | Rob Herring | 2010-11-04 |
| | | | | | | | | | | From: Rob Herring <rob.herring@smooth-stone.com> The timer-sp h/w used on versatile platforms can also be used for other platforms, so move it to a common location. Signed-off-by: Rob Herring <rob.herring@smooth-stone.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | ||
* | ARM: Realview/Versatile: don't use magic numbers for timer frequency | Russell King | 2010-05-02 |
| | | | | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | ||
* | ARM: Realview/Versatile: remove useless TIMER_RELOAD calculations | Russell King | 2010-05-02 |
| | | | | | | | | | | | | | | | | | | Realview/Versatile copied the Integrator timer code, including the calculations for ensuring that the reload value fits into the 16-bit counter. However, these platforms have a 32-bit counter which is clocked at a slower rate. The result is that the preprocessor conditions are never triggered: TICKS_PER_uSEC = 1, mSEC_10 = 10000, which is 0x2710 - less than 0x10000. So, remove the unnecessary complexity, reducing the TIMER_RELOAD calculation to just: TICKS_PER_uSEC * mSEC_10 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | ||
* | ARM: Realview/Versatile: separate out common SP804 timer code | Russell King | 2010-05-02 |
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |