Patchwork [U-Boot,4/6] i.MX6: crm_regs: define IOMUXC_GPR4/6/7

login
register
mail settings
Submitter Eric Nelson
Date Feb. 17, 2013, 7:24 p.m.
Message ID <1361129058-27988-5-git-send-email-eric.nelson@boundarydevices.com>
Download mbox | patch
Permalink /patch/221087/
State Superseded
Delegated to: Stefano Babic
Headers show

Comments

Eric Nelson - Feb. 17, 2013, 7:24 p.m.
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 arch/arm/include/asm/arch-mx6/iomux.h |    5 +++++
 1 file changed, 5 insertions(+)
Liu Hui-R64343 - Feb. 18, 2013, 5:11 a.m.
>-----Original Message-----
>From: Eric Nelson [mailto:eric.nelson@boundarydevices.com]
>Sent: Monday, February 18, 2013 3:24 AM
>To: u-boot@lists.denx.de
>Cc: sbabic@denx.de; Liu Hui-R64343; Estevam Fabio-R49496;
>troy.kisky@boundarydevices.com; Eric Nelson
>Subject: [PATCH 4/6] i.MX6: crm_regs: define IOMUXC_GPR4/6/7
>
>Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
>---
> arch/arm/include/asm/arch-mx6/iomux.h |    5 +++++
> 1 file changed, 5 insertions(+)
>
>diff --git a/arch/arm/include/asm/arch-mx6/iomux.h
>b/arch/arm/include/asm/arch-mx6/iomux.h
>index d23abd7..57b514f 100644
>--- a/arch/arm/include/asm/arch-mx6/iomux.h
>+++ b/arch/arm/include/asm/arch-mx6/iomux.h
>@@ -16,6 +16,11 @@
>
> #ifndef __ASM_ARCH_IOMUX_H__
> #define __ASM_ARCH_IOMUX_H__
>+
>+#define IOMUXC_GPR4		0x020e0010
>+#define IOMUXC_GPR6		0x020e0018
>+#define IOMUXC_GPR7		0x020e001c

Since this definition located into directory 'arch-mx6', I prefer to add MX6_ prefix, 

Jason

>+
> /*
>  * IOMUXC_GPR13 bit fields
>  */
>--
>1.7.9.5
>

Patch

diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h
index d23abd7..57b514f 100644
--- a/arch/arm/include/asm/arch-mx6/iomux.h
+++ b/arch/arm/include/asm/arch-mx6/iomux.h
@@ -16,6 +16,11 @@ 
 
 #ifndef __ASM_ARCH_IOMUX_H__
 #define __ASM_ARCH_IOMUX_H__
+
+#define IOMUXC_GPR4		0x020e0010
+#define IOMUXC_GPR6		0x020e0018
+#define IOMUXC_GPR7		0x020e001c
+
 /*
  * IOMUXC_GPR13 bit fields
  */