mxc: remove ARCH_NR_GPIOS
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 25 May 2009 15:22:18 +0000 (17:22 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 7 Aug 2009 10:10:52 +0000 (12:10 +0200)
Use the default value of 256 which is enough for all i.MX SoCs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/include/mach/mx27.h
arch/arm/plat-mxc/include/mach/mx3x.h

index 6e93f2c..063ac35 100644 (file)
@@ -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__ */
index b559a4b..44ca1b7 100644 (file)
 
 /* 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;