]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
pxa/hx4700: Fix PXA_GPIO_IRQ_BASE/IRQ_NUM values
authorPaul Parsons <lost.distance@yahoo.com>
Mon, 27 Feb 2012 01:58:45 +0000 (01:58 +0000)
committerHaojian Zhuang <haojian.zhuang@marvell.com>
Tue, 28 Feb 2012 02:21:08 +0000 (10:21 +0800)
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>
arch/arm/Kconfig

index a48aecc17eacc2e3d3f5cf4b0ff4183f29b33440..b5a91ca2eda9fa863aca31076f84b23198a8587a 100644 (file)
@@ -1578,6 +1578,7 @@ config ARCH_NR_GPIO
        int
        default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
        default 350 if ARCH_U8500
+       default 264 if MACH_H4700
        default 0
        help
          Maximum number of GPIOs in the system.