summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-05-25 17:22:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-07 12:10:52 +0200
commitabae61305684fffb0f1d779a1a678855ec5e8cfc (patch)
tree03883ac5e9411f9f2b3bf10b2f8cc78aea03627c
parentbe124c94279edf4306798100f120c386947d8724 (diff)
downloadop-kernel-dev-abae61305684fffb0f1d779a1a678855ec5e8cfc.zip
op-kernel-dev-abae61305684fffb0f1d779a1a678855ec5e8cfc.tar.gz
mxc: remove ARCH_NR_GPIOS
Use the default value of 256 which is enough for all i.MX SoCs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/plat-mxc/include/mach/mx27.h3
-rw-r--r--arch/arm/plat-mxc/include/mach/mx3x.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx27.h b/arch/arm/plat-mxc/include/mach/mx27.h
index 6e93f2c..063ac35 100644
--- a/arch/arm/plat-mxc/include/mach/mx27.h
+++ b/arch/arm/plat-mxc/include/mach/mx27.h
@@ -120,7 +120,4 @@ extern int mx27_revision(void);
/* Mandatory defines used globally */
-/* this CPU supports up to 192 GPIOs (don't forget the baseboard!) */
-#define ARCH_NR_GPIOS (192 + 16)
-
#endif /* __ASM_ARCH_MXC_MX27_H__ */
diff --git a/arch/arm/plat-mxc/include/mach/mx3x.h b/arch/arm/plat-mxc/include/mach/mx3x.h
index b559a4b..44ca1b7 100644
--- a/arch/arm/plat-mxc/include/mach/mx3x.h
+++ b/arch/arm/plat-mxc/include/mach/mx3x.h
@@ -279,9 +279,6 @@
/* Mandatory defines used globally */
-/* this CPU supports up to 96 GPIOs */
-#define ARCH_NR_GPIOS 96
-
#if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS)
extern unsigned int system_rev;
OpenPOWER on IntegriCloud