[U-Boot] [PATCH] mx35 iomux: correct input select register index

Philip Paeps philip at paeps.cx
Wed Apr 17 16:39:27 CEST 2013


Prior to this fix, calls to mxc_iomux_set_input() for registers
after MUX_IN_GPIO2_IN_19 would write to the wrong registers,
possibly resulting in unexpected behaviour.

Signed-off-by: Philip Paeps <philip at paeps.cx>
---
 arch/arm/include/asm/arch-mx35/iomux.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/arch-mx35/iomux.h b/arch/arm/include/asm/arch-mx35/iomux.h
index 52c15bc..7f17ed6 100644
--- a/arch/arm/include/asm/arch-mx35/iomux.h
+++ b/arch/arm/include/asm/arch-mx35/iomux.h
@@ -141,6 +141,7 @@ typedef enum iomux_input_select {
 	MUX_IN_GPIO2_IN_17,
 	MUX_IN_GPIO2_IN_18,
 	MUX_IN_GPIO2_IN_19,
+	MUX_IN_GPIO2_IN_1,
 	MUX_IN_GPIO2_IN_20,
 	MUX_IN_GPIO2_IN_21,
 	MUX_IN_GPIO2_IN_22,
-- 
1.7.2.5



More information about the U-Boot mailing list