Hi Ye Li, On Thu, Nov 23, 2017 at 12:52 AM, Fabio Estevam <feste...@gmail.com> wrote: > Hi Ye Li, > > On Thu, Nov 23, 2017 at 12:05 AM, Ye Li <ye...@nxp.com> wrote: > >> The wdog3 is not disabled for i.mx6ull on mainline U-boot. Please fix it in >> imx_set_wdog_powerdown. >> >> if (is_mx6sx() || is_mx6ul() || is_mx6ull() || is_mx7()) >> writew(enable, &wdog3->wmcr); > > Thanks for your suggestion. > > I tried the following change: > > --- 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); > > > but still got the kernel reboot.
I also had to fix the WDOG3_BASE_ADDR definition for mx6ull. Just sent a series that fixes the issue. Thanks _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot