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)
committerMark Brown <broonie@linaro.org>
Mon, 5 May 2014 23:10:03 +0000 (16:10 -0700)
commit80b29156ac0ea6c16a5d6ee052610467b3140a64
tree5779e48ab56be926e8981f43fcdc68949d153578
parent479fb33e44d7779e43d59f51b5e955e1868e9b22
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