[U-Boot] [PATCH,v1,4/4] udoo: Fix watchdog during kernel boot.
Fabio Estevam
festevam at gmail.com
Tue Nov 12 15:18:40 CET 2013
On Mon, Nov 11, 2013 at 3:11 PM, Giuseppe Pagano
<giuseppe.pagano at seco.com> wrote:
> uDoo uses APX823-31W5 watchdog chip. Timeout is about 1.2 seconds.
> To disabled watchdog during kernel boot, WDI pin of that chip needs to be in "high impedance" state.
> I.mx6 gpio configuration does not contemplate tristate, so pin is set as input in high impedance.
>
> Signed-off-by: Giuseppe Pagano <giuseppe.pagano at seco.com>
> CC: Stefano Babic <sbabic at denx.de>
> CC: Fabio Estevam <fabio.estevam at freescale.com>
> ---
> board/udoo/udoo.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/board/udoo/udoo.c b/board/udoo/udoo.c
> index b53f70c..af8004e 100644
> --- a/board/udoo/udoo.c
> +++ b/board/udoo/udoo.c
> @@ -169,6 +169,7 @@ static void setup_iomux_wdog(void)
> imx_iomux_v3_setup_multiple_pads(wdog_pads, ARRAY_SIZE(wdog_pads));
> gpio_direction_output(WDT_TRG, 0);
> gpio_direction_output(WDT_EN, 1);
> + gpio_direction_input(WDT_TRG);
Reviewed-by: Fabio Estevam <fabio.estevam at freescale.com>
More information about the U-Boot
mailing list