From b5c6277890e12b5fab86d1f49681fa6efe2f40ac Mon Sep 17 00:00:00 2001 From: Ye Li Date: Mon, 14 Mar 2016 16:49:04 +0800 Subject: 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 (cherry picked from commit 7b53ee014c9f02f6ead0b60d5295d07205247a7c) --- board/freescale/mx6sxsabreauto/mx6sxsabreauto.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- cgit v1.1