diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-05-25 11:22:18 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-07 06:10:52 -0400 |
commit | abae61305684fffb0f1d779a1a678855ec5e8cfc (patch) | |
tree | 03883ac5e9411f9f2b3bf10b2f8cc78aea03627c /arch/arm/plat-mxc | |
parent | be124c94279edf4306798100f120c386947d8724 (diff) |
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>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx27.h | 3 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx3x.h | 3 |
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 6e93f2c0b7bb..063ac3524652 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); | |||
120 | 120 | ||
121 | /* Mandatory defines used globally */ | 121 | /* Mandatory defines used globally */ |
122 | 122 | ||
123 | /* this CPU supports up to 192 GPIOs (don't forget the baseboard!) */ | ||
124 | #define ARCH_NR_GPIOS (192 + 16) | ||
125 | |||
126 | #endif /* __ASM_ARCH_MXC_MX27_H__ */ | 123 | #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 b559a4bb5769..44ca1b700f0e 100644 --- a/arch/arm/plat-mxc/include/mach/mx3x.h +++ b/arch/arm/plat-mxc/include/mach/mx3x.h | |||
@@ -279,9 +279,6 @@ | |||
279 | 279 | ||
280 | /* Mandatory defines used globally */ | 280 | /* Mandatory defines used globally */ |
281 | 281 | ||
282 | /* this CPU supports up to 96 GPIOs */ | ||
283 | #define ARCH_NR_GPIOS 96 | ||
284 | |||
285 | #if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) | 282 | #if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) |
286 | 283 | ||
287 | extern unsigned int system_rev; | 284 | extern unsigned int system_rev; |