diff options
author | Peter De Schrijver (NVIDIA) <pdeschrijver@nvidia.com> | 2011-12-21 10:48:45 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-12-23 22:54:50 +0000 |
commit | 44986ab056076e9dc9fb9f8b4729afef7fa72616 (patch) | |
tree | ea8231c1bd85cb97daa89b3fe377a0a537ad24fa /arch/arm/Kconfig | |
parent | 7c324d837f214290febac87da6815dff1ed41d04 (diff) | |
download | op-kernel-dev-44986ab056076e9dc9fb9f8b4729afef7fa72616.zip op-kernel-dev-44986ab056076e9dc9fb9f8b4729afef7fa72616.tar.gz |
ARM: 7240/1: Make ARCH_NR_GPIO a Kconfig variable
Change ARCH_NR_GPIO into a Kconfig variable as suggested by Russel King.
This makes ARCH_NR_GPIO single zImage friendly. The default value for
tegra is defined as well.
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e063d34..003b7d0 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1565,6 +1565,15 @@ config LOCAL_TIMERS accounting to be spread across the timer interval, preventing a "thundering herd" at every timer tick. +config ARCH_NR_GPIO + int + default 1024 if ARCH_TEGRA + default 0 + help + Maximum number of GPIOs in the system. + + If unsure, leave the default value. + source kernel/Kconfig.preempt config HZ |