watchdog: i.MX: fix i.MX6 reset
According to the Errata ERR004346 (WDOG: WDOG SRS bit requires to be written
twice), add another two writes to ensure there must be at least two
writes happen in the same one 32kHz clock period.
Without this two additional writes, the system will not reset always.

Tested with i.MX6Quad and i.MX6 UltraLite

Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 47c7e06 commit f1a9f24ecddb6e6b55a96fb971128afa8427d25f
@Christian Hemp Christian Hemp authored on 12 Jun 2017
Sascha Hauer committed on 13 Jun 2017
Showing 1 changed file
View
drivers/watchdog/imxwd.c