[U-Boot] [PATCH v2 2/3] MX5: Add iomux structure

Fabio Estevam fabio.estevam at freescale.com
Tue May 17 00:29:50 CEST 2011


Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
Changes since v1:
- iomuxc was accessed directly in v1, so create a iomux struct
so that we can use io accessors

 arch/arm/include/asm/arch-mx5/imx-regs.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h
index d80e0c0..eb690ec 100644
--- a/arch/arm/include/asm/arch-mx5/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx5/imx-regs.h
@@ -273,6 +273,17 @@ struct weim {
 	u32	ear;
 };
 
+struct iomuxc {
+	u32	gpr0;
+	u32	gpr1;
+	u32	gpr2;
+	u32	omux0;
+	u32	omux1;
+	u32	omux2;
+	u32	omux3;
+	u32	omux4;
+};
+
 /* GPIO Registers */
 struct gpio_regs {
 	u32	gpio_dr;
-- 
1.6.0.4




More information about the U-Boot mailing list