aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-08-29 14:27:22 -0400
committerLinus Walleij <linus.walleij@linaro.org>2012-09-05 02:49:22 -0400
commitc7e783d6adc7798307e7063e11f4127117446d5a (patch)
treeec58ba9e50f3d849527d0ebc914b0c0fe2a903f3 /arch/arm/Kconfig
parentd7dda9875b84eb6c2828592b17aa173ac17bf75d (diff)
ARM: ks8695: convert to generic time and clocksource
Old platforms using ancient gettimeoffset() and other arcane APIs are standing in the way of cleaning up the ARM kernel. The gettimeoffset() was also broken: it would try to read out the timer counter value, while this would not work (the counter statically returns the initially programmed value) so the implementation would anyway fall back to a homebrew version of jiffie calculation. This is an attempt at blind-coding a generic time and clocksource driver for the platform by way of a datasheet and looking at the old code. Tested-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 6d6e18fee9fe..e9ce0387f3d7 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -652,8 +652,9 @@ config ARCH_KS8695
652 bool "Micrel/Kendin KS8695" 652 bool "Micrel/Kendin KS8695"
653 select CPU_ARM922T 653 select CPU_ARM922T
654 select ARCH_REQUIRE_GPIOLIB 654 select ARCH_REQUIRE_GPIOLIB
655 select ARCH_USES_GETTIMEOFFSET
656 select NEED_MACH_MEMORY_H 655 select NEED_MACH_MEMORY_H
656 select CLKSRC_MMIO
657 select GENERIC_CLOCKEVENTS
657 help 658 help
658 Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based 659 Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
659 System-on-Chip devices. 660 System-on-Chip devices.