
30 Sep
2015
30 Sep
'15
8:33 p.m.
Hi Fabio
Fabio Estevam wrote:
Hi Sinan, [...]
Does this fix the reset issue?
--- a/drivers/watchdog/imx_watchdog.c +++ b/drivers/watchdog/imx_watchdog.c @@ -55,7 +55,7 @@ void reset_cpu(ulong addr) { struct watchdog_regs *wdog = (struct watchdog_regs *)WDOG1_BASE_ADDR;
clrsetbits_le16(&wdog->wcr, 0, WCR_WDE);
setbits_le16(&wdog->wcr, WCR_WDE); writew(0x5555, &wdog->wsr); writew(0xaaaa, &wdog->wsr); /* load minimum 1/2 second timeout */
Nope, AFAICS it doesn't make any difference.
Regards Sinan Akman