ARM/ARM64: arch_timer: add macros for bits in control register
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Tue, 13 Aug 2013 12:43:26 +0000 (13:43 +0100)
committerAlex Shi <alex.shi@linaro.org>
Mon, 28 Apr 2014 05:59:00 +0000 (13:59 +0800)
commitc0a8e8ae95885babd8843a00af460b1221c6c4c6
treeda0a063057291523882c83bbfcae62864647b8b0
parent08a92bdc033b579656887b1621511bcefa38dfab
ARM/ARM64: arch_timer: add macros for bits in control register

Add macros to describe the bitfields in the ARM architected timer
control register to make code easy to understand.

Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
(cherry picked from commit 28061758dc83df445a05af347b5ce55ccd968c03)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Conflicts:
arch/arm/include/asm/arch_timer.h
arch/arm/include/asm/arch_timer.h
arch/arm64/include/asm/arch_timer.h
include/clocksource/arm_arch_timer.h