MLK-12555 mx6sxsabreauto: Enable the Watchdog WDOG_B signal output
authorYe Li <ye.li@nxp.com>
Mon, 14 Mar 2016 08:49:04 +0000 (16:49 +0800)
committerYe Li <ye.li@nxp.com>
Wed, 5 Apr 2017 06:04:42 +0000 (14:04 +0800)
When using watchdog timeout in kernel, the reset does not output the
WDOG_B signal, so the power supply won't be reset. To solve the problem,
we enable it in u-boot.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 7b53ee014c9f02f6ead0b60d5295d07205247a7c)

board/freescale/mx6sxsabreauto/mx6sxsabreauto.c

index 773fe89..962c333 100644 (file)
@@ -526,6 +526,9 @@ int board_late_init(void)
        board_late_mmc_env_init();
 #endif
 
+       /* set WDOG_B to reset whole system */
+       set_wdog_reset((struct wdog_regs *)WDOG1_BASE_ADDR);
+
        return 0;
 }