[U-Boot] [PATCH 4/6] imx: mx35pdk: Convert to iomux-v3

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Mon Apr 29 22:39:48 CEST 2013


Hi Stefano,

On Monday, April 29, 2013 10:41:18 PM, Benoît Thébaudeau wrote:
> There is no change of behavior.
> 
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
> ---
[...]
> diff --git a/board/freescale/mx35pdk/mx35pdk.c
> b/board/freescale/mx35pdk/mx35pdk.c
> index 9993d7b..12e84d7 100644
> --- a/board/freescale/mx35pdk/mx35pdk.c
> +++ b/board/freescale/mx35pdk/mx35pdk.c
[...]
> @@ -271,8 +243,7 @@ int board_late_init(void)
>  		pmic_reg_read(p, REG_MODE_0, &pmic_val);
>  		pmic_reg_write(p, REG_MODE_0, pmic_val | VGEN3EN);
>  
> -		mxc_request_iomux(MX35_PIN_COMPARE, MUX_CONFIG_GPIO);
> -		mxc_iomux_set_input(MUX_IN_GPIO1_IN_5, INPUT_CTL_PATH0);
> +		imx_iomux_v3_setup_pad(MX35_PAD_COMPARE__GPIO1_5);
>  
>  		gpio_direction_output(IMX_GPIO_NR(2, 5), 1);
                                                  ^
Note that GPIO2[5] seems to be used instead of GPIO1[5] above. I have not
checked if this is a bug or not. I let you check that as the board maintainer.

Best regards,
Benoît


More information about the U-Boot mailing list