diff mbox

[U-Boot,2/2] mx6: Adjust the GPR offset for mx6solox

Message ID 1404939595-16151-2-git-send-email-festevam@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam July 9, 2014, 8:59 p.m. UTC
From: Fabio Estevam <fabio.estevam@freescale.com>

On mx6solox there is an additional 0x4000 offset for the GPR registers.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
This applies against 'next' branch.

 arch/arm/include/asm/arch-mx6/imx-regs.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Stefano Babic July 11, 2014, 7:42 a.m. UTC | #1
Hi Fabio,

On 09/07/2014 22:59, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> On mx6solox there is an additional 0x4000 offset for the GPR registers.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> This applies against 'next' branch.
> 
>  arch/arm/include/asm/arch-mx6/imx-regs.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h
> index 782d9c4..cc746b8 100644
> --- a/arch/arm/include/asm/arch-mx6/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
> @@ -398,6 +398,9 @@ struct src {
>  
>  
>  struct iomuxc {
> +#ifdef CONFIG_MX6SX
> +	u8 reserved[0x4000];
> +#endif
>  	u32 gpr[14];
>  	u32 omux[5];
>  	/* mux and pad registers */
> 

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

Best regards,
Stefano Babic
Stefano Babic July 23, 2014, 10:36 a.m. UTC | #2
On 09/07/2014 22:59, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> On mx6solox there is an additional 0x4000 offset for the GPR registers.
> 
> 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 782d9c4..cc746b8 100644
--- a/arch/arm/include/asm/arch-mx6/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
@@ -398,6 +398,9 @@  struct src {
 
 
 struct iomuxc {
+#ifdef CONFIG_MX6SX
+	u8 reserved[0x4000];
+#endif
 	u32 gpr[14];
 	u32 omux[5];
 	/* mux and pad registers */