From: Benoît Thébaudeau Date: Tue, 14 Aug 2012 09:39:16 +0000 (+0000) Subject: mx35 iomux: Remove unused macro X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e23ee5674a369ef2af5d2403d07c74a529096628;p=u-boot.git mx35 iomux: Remove unused macro Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic Acked-by: Stefano Babic --- diff --git a/arch/arm/cpu/arm1136/mx35/iomux.c b/arch/arm/cpu/arm1136/mx35/iomux.c index f93191daef..a302575eda 100644 --- a/arch/arm/cpu/arm1136/mx35/iomux.c +++ b/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.