浏览代码

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>
Sascha Hauer 16 年之前
父节点
当前提交
abae613056
共有 2 个文件被更改,包括 0 次插入6 次删除
  1. 0 3
      arch/arm/plat-mxc/include/mach/mx27.h
  2. 0 3
      arch/arm/plat-mxc/include/mach/mx3x.h

+ 0 - 3
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__ */

+ 0 - 3
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;