From 5fecb36ca0c5642259227bba9aed94727e084c17 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Sun, 19 Aug 2012 21:33:50 +0000 Subject: MX: Set a common gpio.h for all i.MX Each i.MX has its own gpio.h, defining the same structure. The internal GPIO controller has the same layout (at least for the register used by u-boot) and can be shared. Signed-off-by: Stefano Babic Tested-by: Matt Sealey --- arch/arm/include/asm/arch-mx6/imx-regs.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/arm/include/asm/arch-mx6/imx-regs.h') diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index dacb9ea8cf..b89dfe55f2 100644 --- a/arch/arm/include/asm/arch-mx6/imx-regs.h +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h @@ -172,8 +172,6 @@ #define IMX_IIM_BASE OCOTP_BASE_ADDR #define FEC_QUIRK_ENET_MAC -#define GPIO_NUMBER(port, index) ((((port)-1)*32)+((index)&31)) - #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__)) #include -- cgit v1.2.3