]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx35 iomux: correct input select register index
authorPhilip Paeps <philip@paeps.cx>
Wed, 17 Apr 2013 04:39:27 +0000 (04:39 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 25 Apr 2013 19:10:00 +0000 (21:10 +0200)
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@paeps.cx>
arch/arm/include/asm/arch-mx35/iomux.h

index 52c15bc63a562b634c0df30cf3717b47cf5b84fb..7f17ed6270189c70d1e3c9d03b2f6f66f9568e26 100644 (file)
@@ -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,