summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2014-12-17 21:03:22 +0800
committerRobin Gong <b38343@freescale.com>2014-12-17 21:04:43 +0800
commit4d924f8eb47392e34a4ed2459f5534889b9b2009 (patch)
tree6c5af3945a9d776ff51841701e3ed793a8c521bb
parent93d457e4c601ee5266bc30b7dfa5fa1bbfa8500a (diff)
downloadu-boot-imx-4d924f8eb47392e34a4ed2459f5534889b9b2009.zip
u-boot-imx-4d924f8eb47392e34a4ed2459f5534889b9b2009.tar.gz
u-boot-imx-4d924f8eb47392e34a4ed2459f5534889b9b2009.tar.bz2
MLK-9891-2: board: freescale: mx6sxsabreauto: enable WDOG_B setting
Enable WDOG_B setting to workaround QSPI boot issue. Signed-off-by: Robin Gong <b38343@freescale.com>
-rw-r--r--board/freescale/mx6sxsabreauto/mx6sxsabreauto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
index c18a83d..6c93845 100644
--- a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
+++ b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c
@@ -893,6 +893,8 @@ int board_late_init(void)
#ifdef CONFIG_ENV_IS_IN_MMC
board_late_mmc_init();
#endif
+ /* set WDOG_B to reset whole system */
+ set_wdog_reset((struct wdog_regs *)WDOG1_BASE_ADDR);
return 0;
}