clocksource: arm_arch_timer: add GTDT support for memory-mapped timer
authorFu Wei <fu.wei@linaro.org>
Fri, 31 Mar 2017 17:51:04 +0000 (01:51 +0800)
committerMark Rutland <mark.rutland@arm.com>
Wed, 19 Apr 2017 16:00:15 +0000 (17:00 +0100)
commitc2743a36765d337fad589b5c30b47c297a207194
treeb836f55ded2a9a1c93c3992ce784213666775883
parenta712c3ed9b8a4565a200f3e8e09c42079b1666b3
clocksource: arm_arch_timer: add GTDT support for memory-mapped timer

The patch add memory-mapped timer register support by using the
information provided by the new GTDT driver of ACPI.

Signed-off-by: Fu Wei <fu.wei@linaro.org>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
[Mark: verify CNTFRQ, only register the first frame]
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
drivers/clocksource/arm_arch_timer.c