[U-Boot] [PATCH 2/2] imx: Also clear powerdown enable bit for WDOG3 on i.MX6ULL

Peng Fan peng.fan at nxp.com
Thu Nov 23 11:23:36 UTC 2017



> -----Original Message-----
> From: Fabio Estevam [mailto:festevam at gmail.com]
> Sent: Thursday, November 23, 2017 7:19 PM
> To: sbabic at denx.de
> Cc: u-boot at lists.denx.de; Ye Li <ye.li at nxp.com>; Peng Fan
> <peng.fan at nxp.com>; Fabio Estevam <fabio.estevam at nxp.com>
> Subject: [PATCH 2/2] imx: Also clear powerdown enable bit for WDOG3 on
> i.MX6ULL
> 
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> Clear powerdown enable bit for WDOG3 on i.MX6ULL to avoid unwanted
> kernel reboots.
> 
> Suggested-by: Ye Li <ye.li at nxp.com>
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
>  arch/arm/mach-imx/init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-imx/init.c b/arch/arm/mach-imx/init.c index
> 720ad67..2a05c59 100644
> --- a/arch/arm/mach-imx/init.c
> +++ b/arch/arm/mach-imx/init.c
> @@ -78,7 +78,7 @@ void imx_set_wdog_powerdown(bool enable)
>  	writew(enable, &wdog1->wmcr);
>  	writew(enable, &wdog2->wmcr);
> 
> -	if (is_mx6sx() || is_mx6ul() || is_mx7())
> +	if (is_mx6sx() || is_mx6ul() || is_mx6ull() || is_mx7())
>  		writew(enable, &wdog3->wmcr);
>  #ifdef CONFIG_MX7D
>  	writew(enable, &wdog4->wmcr);

Reviewed-by: Peng Fan <peng.fan at nxp.com>

> --
> 2.7.4



More information about the U-Boot mailing list