summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-03-14 16:49:04 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:42 +0800
commitb5c6277890e12b5fab86d1f49681fa6efe2f40ac (patch)
tree24e06ca80679529ffe19814407c6e69415c13442 /board
parentf8f50ba4b7361f2a49492deb3aec2296a7fcd9b1 (diff)
downloadu-boot-imx-b5c6277890e12b5fab86d1f49681fa6efe2f40ac.zip
u-boot-imx-b5c6277890e12b5fab86d1f49681fa6efe2f40ac.tar.gz
u-boot-imx-b5c6277890e12b5fab86d1f49681fa6efe2f40ac.tar.bz2
MLK-12555 mx6sxsabreauto: Enable the Watchdog WDOG_B signal output
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)
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6sxsabreauto/mx6sxsabreauto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
index 773fe89..962c333 100644
--- a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
+++ b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
@@ -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;
}