[U-Boot] [PATCH] mx35 iomux: correct offset of IOMUXSW_INPUT_CTL register

Philip Paeps philip at paeps.cx
Tue Apr 9 23:29:06 CEST 2013


This makes mxc_iomux_set_input() work as expected.

Signed-off-by: Philip Paeps <philip at paeps.cx>
---
 arch/arm/cpu/arm1136/mx35/iomux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/cpu/arm1136/mx35/iomux.c b/arch/arm/cpu/arm1136/mx35/iomux.c
index a302575..d6f4ced 100644
--- a/arch/arm/cpu/arm1136/mx35/iomux.c
+++ b/arch/arm/cpu/arm1136/mx35/iomux.c
@@ -35,7 +35,7 @@ enum iomux_reg_addr {
 	IOMUXSW_MUX_END = IOMUXC_BASE_ADDR + 0x324,	/* last MUX control */
 	IOMUXSW_PAD_CTL = IOMUXC_BASE_ADDR + 0x328,	/* Pad control */
 	IOMUXSW_PAD_END = IOMUXC_BASE_ADDR + 0x794,	/* last Pad control */
-	IOMUXSW_INPUT_CTL = IOMUXC_BASE_ADDR + 0x7AC,	/* input select */
+	IOMUXSW_INPUT_CTL = IOMUXC_BASE_ADDR + 0x7A8,	/* input select */
 	IOMUXSW_INPUT_END = IOMUXC_BASE_ADDR + 0x9F4,	/* last input select */
 };
 
-- 
1.7.2.5



More information about the U-Boot mailing list