]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: vf610: Add ARM Global Timer clocksource option
authorStefan Agner <stefan@agner.ch>
Wed, 24 Sep 2014 16:20:10 +0000 (18:20 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 23 Nov 2014 06:56:18 +0000 (14:56 +0800)
commita418f55decba8798942e648ea85153825807391a
treee37f576747d1b2449e4d0b9049f4d42aa0443bc3
parentf9e8df994a99ba0de8dc552f46a9b0a774a4f0f0
ARM: vf610: Add ARM Global Timer clocksource option

Add the ARM Global Timer as clocksource/scheduler clock option and
use it as default scheduler clock. This leaves the PIT timer for
other users e.g. the secondary Cortex-M4 core. Also, the Global Timer
has double the precission (running at pheripheral clock compared to
IPG clock) and a 64-bit incrementing counter register. We still keep
the PIT timer as an secondary option in case the ARM Global Timer is
not available.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/Kconfig