diff options
| -rw-r--r-- | arch/arm/Kconfig | 1 | ||||
| -rw-r--r-- | arch/arm/mach-at91/Kconfig | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a04f507e7f2c..93e40b65fd0b 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -657,6 +657,7 @@ config HZ | |||
| 657 | default 128 if ARCH_L7200 | 657 | default 128 if ARCH_L7200 |
| 658 | default 200 if ARCH_EBSA110 || ARCH_S3C2410 | 658 | default 200 if ARCH_EBSA110 || ARCH_S3C2410 |
| 659 | default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER | 659 | default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER |
| 660 | default AT91_TIMER_HZ if ARCH_AT91 | ||
| 660 | default 100 | 661 | default 100 |
| 661 | 662 | ||
| 662 | config AEABI | 663 | config AEABI |
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 05a9f8a1b45e..214733e897e5 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig | |||
| @@ -219,6 +219,22 @@ config AT91_PROGRAMMABLE_CLOCKS | |||
| 219 | Select this if you need to program one or more of the PCK0..PCK3 | 219 | Select this if you need to program one or more of the PCK0..PCK3 |
| 220 | programmable clock outputs. | 220 | programmable clock outputs. |
| 221 | 221 | ||
| 222 | config AT91_TIMER_HZ | ||
| 223 | int "Kernel HZ (jiffies per second)" | ||
| 224 | range 32 1024 | ||
| 225 | depends on ARCH_AT91 | ||
| 226 | default "128" if ARCH_AT91RM9200 | ||
| 227 | default "100" | ||
| 228 | help | ||
| 229 | On AT91rm9200 chips where you're using a system clock derived | ||
| 230 | from the 32768 Hz hardware clock, this tick rate should divide | ||
| 231 | it exactly: use a power-of-two value, such as 128 or 256, to | ||
| 232 | reduce timing errors caused by rounding. | ||
| 233 | |||
| 234 | On AT91sam926x chips, or otherwise when using a higher precision | ||
| 235 | system clock (of at least several MHz), rounding is less of a | ||
| 236 | problem so it can be safer to use a decimal values like 100. | ||
| 237 | |||
| 222 | endmenu | 238 | endmenu |
| 223 | 239 | ||
| 224 | endif | 240 | endif |
