diff options
author | Paul Parsons <lost.distance@yahoo.com> | 2012-02-26 20:58:45 -0500 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@marvell.com> | 2012-02-27 21:21:08 -0500 |
commit | 9a01ec304dbe167fb1d2efd85fcb2628b7aaba00 (patch) | |
tree | dbf505d29604207f3cdd6ee79c4b5f7e4c9f1692 /arch | |
parent | 91cb8ee33ffb19ae94220f79e34d1918c57a915e (diff) |
pxa/hx4700: Fix PXA_GPIO_IRQ_BASE/IRQ_NUM values
The hx4700 platform has 72 board gpios: 64 ASIC3 gpios numbered 192..255, and
8 EGPIO gpios numbered 256..263 (plus a 9th which is not used).
Thus the new CONFIG_ARCH_NR_GPIO config option must be set to 264.
Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a48aecc17eac..b5a91ca2eda9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1578,6 +1578,7 @@ config ARCH_NR_GPIO | |||
1578 | int | 1578 | int |
1579 | default 1024 if ARCH_SHMOBILE || ARCH_TEGRA | 1579 | default 1024 if ARCH_SHMOBILE || ARCH_TEGRA |
1580 | default 350 if ARCH_U8500 | 1580 | default 350 if ARCH_U8500 |
1581 | default 264 if MACH_H4700 | ||
1581 | default 0 | 1582 | default 0 |
1582 | help | 1583 | help |
1583 | Maximum number of GPIOs in the system. | 1584 | Maximum number of GPIOs in the system. |