aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-03-13 17:57:24 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-03-19 11:37:45 -0400
commit1164f672d71ac103d85207b0453f3127c0efefb3 (patch)
treec0ea3759b5de41c77e7cf26a8d00fc2512d79c97
parent23b8408246aef28499a918b10425c1da4fef613a (diff)
ARM: at91: drop AT91_TIMER_HZ
Drop AT91_TIMER_HZ as this can be handled using HZ_FIXED. Initial help message was: On AT91rm9200 chips where you're using a system clock derived from the 32768 Hz hardware clock, this tick rate should divide it exactly: use a power-of-two value, such as 128 or 256, to reduce timing errors caused by rounding. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r--arch/arm/Kconfig2
-rw-r--r--arch/arm/mach-at91/Kconfig18
2 files changed, 1 insertions, 19 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index a1d153098001..8d5c4f9c15f9 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1502,7 +1502,7 @@ config HZ_FIXED
1502 int 1502 int
1503 default 200 if ARCH_EBSA110 || ARCH_S3C24XX || \ 1503 default 200 if ARCH_EBSA110 || ARCH_S3C24XX || \
1504 ARCH_S5PV210 || ARCH_EXYNOS4 1504 ARCH_S5PV210 || ARCH_EXYNOS4
1505 default AT91_TIMER_HZ if ARCH_AT91 1505 default 128 if SOC_AT91RM9200
1506 default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE_LEGACY 1506 default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE_LEGACY
1507 default 0 1507 default 0
1508 1508
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 9416613c8eca..e2cd30f6c23d 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -103,22 +103,4 @@ config SOC_SAMA5
103 select SOC_SAM_V7 103 select SOC_SAM_V7
104 select SRAM if PM 104 select SRAM if PM
105 105
106comment "Atmel SoCs Feature Selections"
107
108config AT91_TIMER_HZ
109 int "Kernel HZ (jiffies per second)"
110 range 32 1024
111 depends on ARCH_AT91
112 default "128" if SOC_AT91RM9200
113 default "100"
114 help
115 On AT91rm9200 chips where you're using a system clock derived
116 from the 32768 Hz hardware clock, this tick rate should divide
117 it exactly: use a power-of-two value, such as 128 or 256, to
118 reduce timing errors caused by rounding.
119
120 On AT91sam926x chips, or otherwise when using a higher precision
121 system clock (of at least several MHz), rounding is less of a
122 problem so it can be safer to use a decimal values like 100.
123
124endif 106endif