summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx6
diff options
context:
space:
mode:
authorVikram Narayanan <vikram186@gmail.com>2012-04-10 04:25:57 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-04-16 14:53:59 +0200
commita9407f2bc51ed118c47a2e60396466bba78c57a6 (patch)
treef3c40e12aeac7931933641753b9608d6d7408bb4 /arch/arm/include/asm/arch-mx6
parent4cc76c609f379a503f443f5a5fdeda00a832139e (diff)
downloadu-boot-imx-a9407f2bc51ed118c47a2e60396466bba78c57a6.zip
u-boot-imx-a9407f2bc51ed118c47a2e60396466bba78c57a6.tar.gz
u-boot-imx-a9407f2bc51ed118c47a2e60396466bba78c57a6.tar.bz2
imx: Remove unneeded/repititive definitions from imx headers
Remove gpio related unused/repititive definitions from imx headers. Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6')
-rw-r--r--arch/arm/include/asm/arch-mx6/imx-regs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h
index 1033d05..6d25c8d 100644
--- a/arch/arm/include/asm/arch-mx6/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
@@ -170,8 +170,6 @@
#define FEC_QUIRK_ENET_MAC
#define GPIO_NUMBER(port, index) ((((port)-1)*32)+((index)&31))
-#define GPIO_TO_PORT(number) (((number)/32)+1)
-#define GPIO_TO_INDEX(number) ((number)&31)
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
#include <asm/types.h>