The header asm/hardware/arm_timer.h is included in various machine specific files to access TIMER_CTRL and initialise to a known state. This patch introduces a new function sp804_timer_disable to disable the SP804 timers and uses the same for initialising the timers to known(off) state, thereby removing the dependency on the header asm/hardware/arm_timer.h This change is in prepartion to move sp804 timer support out of arch/arm so that it can be used on ARM64 platforms. Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Olof Johansson <olof@lixom.net> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
arm_timer.h | ||
cache-feroceon-l2.h | ||
cache-l2x0.h | ||
cache-tauros2.h | ||
cp14.h | ||
dec21285.h | ||
entry-macro-iomd.S | ||
icst.h | ||
ioc.h | ||
iomd.h | ||
iop3xx-adma.h | ||
iop3xx.h | ||
iop_adma.h | ||
it8152.h | ||
locomo.h | ||
memc.h | ||
sa1111.h | ||
scoop.h | ||
ssp.h | ||
timer-sp.h |