]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - arch/arm/Kconfig
ARM: multiplatform: Sort the max gpio numbers.
[linux-imx.git] / arch / arm / Kconfig
index 5b714695b01bb9db0455ad2f5c959a714aa00064..c7e027436f9e53f4f3c4dfd32f6a8ca5580458fb 100644 (file)
@@ -1657,13 +1657,16 @@ config LOCAL_TIMERS
          accounting to be spread across the timer interval, preventing a
          "thundering herd" at every timer tick.
 
+# The GPIO number here must be sorted by descending number. In case of
+# a multiplatform kernel, we just want the highest value required by the
+# selected platforms.
 config ARCH_NR_GPIO
        int
        default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
-       default 355 if ARCH_U8500
-       default 264 if MACH_H4700
        default 512 if SOC_OMAP5
+       default 355 if ARCH_U8500
        default 288 if ARCH_VT8500 || ARCH_SUNXI
+       default 264 if MACH_H4700
        default 0
        help
          Maximum number of GPIOs in the system.