diff options
author | Vikram Narayanan <vikram186@gmail.com> | 2012-04-10 04:25:57 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-04-16 14:53:59 +0200 |
commit | a9407f2bc51ed118c47a2e60396466bba78c57a6 (patch) | |
tree | f3c40e12aeac7931933641753b9608d6d7408bb4 /arch/arm/include/asm/arch-mx35 | |
parent | 4cc76c609f379a503f443f5a5fdeda00a832139e (diff) | |
download | u-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-mx35')
-rw-r--r-- | arch/arm/include/asm/arch-mx35/mx35_pins.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-mx35/mx35_pins.h b/arch/arm/include/asm/arch-mx35/mx35_pins.h index 3676e33..8c38139 100644 --- a/arch/arm/include/asm/arch-mx35/mx35_pins.h +++ b/arch/arm/include/asm/arch-mx35/mx35_pins.h @@ -84,8 +84,6 @@ GPIO_NUM_PIN) + ((pin >> MUX_IO_I) &\ ((1 << (MUX_IO_P - MUX_IO_I)) - 1))) #define IOMUX_TO_IRQ(pin) (MXC_GPIO_INT_BASE + IOMUX_TO_GPIO(pin)) -#define GPIO_TO_PORT(n) (n / GPIO_NUM_PIN) -#define GPIO_TO_INDEX(n) (n % GPIO_NUM_PIN) #define NON_GPIO_I 0x7 #define PIN_TO_MUX_MASK ((1<<(PAD_I - MUX_I)) - 1) |