diff mbox

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

Message ID 1398572630.2410677.1344973156134.JavaMail.root@advansee.com
State Accepted
Commit e23ee5674a369ef2af5d2403d07c74a529096628
Delegated to: Stefano Babic
Headers show

Commit Message

Benoît Thébaudeau Aug. 14, 2012, 7:39 p.m. UTC
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(-)

Comments

Stefano Babic Aug. 20, 2012, 10:17 a.m. UTC | #1
On 14/08/2012 21:39, Benoît Thébaudeau wrote:
> 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.
> 

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Strefano Babic
diff mbox

Patch

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.