MLK-12555-2 mx6ulevk: Enable the Watchdog WDOG_B signal output
authorYe Li <ye.li@nxp.com>
Mon, 14 Mar 2016 08:50:44 +0000 (16:50 +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 8a713e8cd1500ecc6daa02a14a63763a548095b4)

board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c

index 656b532..f7556bb 100644 (file)
@@ -809,6 +809,8 @@ int board_late_init(void)
        board_late_mmc_env_init();
 #endif
 
+       set_wdog_reset((struct wdog_regs *)WDOG1_BASE_ADDR);
+
        return 0;
 }