[U-Boot] [PATCH 1/6] mx35 iomux: Remove unused macro

Benoît Thébaudeau
2012-08-14T19:39:16Z

Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
---
.../arch/arm/cpu/arm1136/mx35/iomux.c | 2 --
1 file changed, 2 deletions(-)

diff --git u-boot-4d3c95f.orig/arch/arm/cpu/arm1136/mx35/iomux.c u-boot-4d3c95f/arch/arm/cpu/arm1136/mx35/iomux.c
index f93191d..a302575 100644
--- u-boot-4d3c95f.orig/arch/arm/cpu/arm1136/mx35/iomux.c
+++ u-boot-4d3c95f/arch/arm/cpu/arm1136/mx35/iomux.c
@@ -44,8 +44,6 @@ enum iomux_reg_addr {
#define MUX_INPUT_NUM_MUX \
(((IOMUXSW_INPUT_END - IOMUXSW_INPUT_CTL) >> 2) + 1)

-#define PIN_TO_IOMUX_INDEX(pin) ((PIN_TO_IOMUX_PAD(pin) - 0x328) >> 2)
-
/*
* Request ownership for an IO pin. This function has to be the first one
* being called before that pin is used.