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-18 20:23:32 +0800
commitafc02ad90dd967faa7cf7013310423e29670cadb (patch)
tree3e6250476f9907ca1e939dcd4997a5b5dc1702e7
parent99b0b68a1ddf248e9766b194821da97045f04a4f (diff)
downloadu-boot-imx-afc02ad90dd967faa7cf7013310423e29670cadb.zip
u-boot-imx-afc02ad90dd967faa7cf7013310423e29670cadb.tar.gz
u-boot-imx-afc02ad90dd967faa7cf7013310423e29670cadb.tar.bz2
MLK-9891-2: board: freescale: mx6sxsabreauto: enable WDOG_B settingrel_imx_3.10.53_1.1.0_ga
Enable WDOG_B setting to workaround QSPI boot issue. Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit 4d924f8eb47392e34a4ed2459f5534889b9b2009)
-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;
}