diff mbox

[U-Boot,1/5] mx6: imx-regs: Remove unused 'omux' field from iomux struct

Message ID 1406893803-11817-1-git-send-email-festevam@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Aug. 1, 2014, 11:49 a.m. UTC
From: Fabio Estevam <fabio.estevam@freescale.com>

'omux' field is not used anywhere and such layout is not valid for mx6solox.

Instead of adding more ifdef's into the structure, let's simply remove this 
unused 'omux' field.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/include/asm/arch-mx6/imx-regs.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Stefano Babic Aug. 5, 2014, 10:10 a.m. UTC | #1
Hi Fabio,

On 01/08/2014 13:49, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> 'omux' field is not used anywhere and such layout is not valid for mx6solox.
> 
> Instead of adding more ifdef's into the structure, let's simply remove this 
> unused 'omux' field.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/include/asm/arch-mx6/imx-regs.h | 2 --
>  1 file changed, 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 437b434..d4ce8a8 100644
> --- a/arch/arm/include/asm/arch-mx6/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
> @@ -404,8 +404,6 @@ struct iomuxc {
>  	u8 reserved[0x4000];
>  #endif
>  	u32 gpr[14];
> -	u32 omux[5];
> -	/* mux and pad registers */
>  };
>  
>  #define IOMUXC_GPR2_COUNTER_RESET_VAL_OFFSET		20
> 

No issues with the whole series. I will apply it to u-boot-imx.

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

Regards,
Stefano
Stefano Babic Aug. 8, 2014, 9:03 a.m. UTC | #2
On 01/08/2014 13:49, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> 'omux' field is not used anywhere and such layout is not valid for mx6solox.
> 
> Instead of adding more ifdef's into the structure, let's simply remove this 
> unused 'omux' field.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---


Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h
index 437b434..d4ce8a8 100644
--- a/arch/arm/include/asm/arch-mx6/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
@@ -404,8 +404,6 @@  struct iomuxc {
 	u8 reserved[0x4000];
 #endif
 	u32 gpr[14];
-	u32 omux[5];
-	/* mux and pad registers */
 };
 
 #define IOMUXC_GPR2_COUNTER_RESET_VAL_OFFSET		20