diff options
author | Ye Li <ye.li@nxp.com> | 2016-03-14 16:49:04 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2016-03-25 16:06:25 +0800 |
commit | 7b53ee014c9f02f6ead0b60d5295d07205247a7c (patch) | |
tree | 6a65f9eee862d72d332eb67beb533aa443735b2c /board | |
parent | 5e48e6dbacde61bb9290086368df73b7bad86a07 (diff) | |
download | u-boot-imx-7b53ee014c9f02f6ead0b60d5295d07205247a7c.zip u-boot-imx-7b53ee014c9f02f6ead0b60d5295d07205247a7c.tar.gz u-boot-imx-7b53ee014c9f02f6ead0b60d5295d07205247a7c.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>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx6sxsabreauto/mx6sxsabreauto.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c index eb15517..41ea6e7 100644 --- a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c +++ b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c @@ -725,6 +725,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; } |