summaryrefslogtreecommitdiff
path: root/board/freescale/mx6sllevk/mx6sllevk.c
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-03-07 12:13:05 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:43 +0800
commit0912f86887a1138244d099a43fc49aa7cf931bf0 (patch)
treebf8058364d78261f17daad7d93897a04f61ef566 /board/freescale/mx6sllevk/mx6sllevk.c
parentb9c64d0ef3f10a07b6140555353a063c166f2f8f (diff)
downloadu-boot-imx-0912f86887a1138244d099a43fc49aa7cf931bf0.zip
u-boot-imx-0912f86887a1138244d099a43fc49aa7cf931bf0.tar.gz
u-boot-imx-0912f86887a1138244d099a43fc49aa7cf931bf0.tar.bz2
MLK-14366 mx6sllevk: Update board codes to align with v2016.03
Update mx6sll EVK board codes for features: 1. Add SD/MMC dynamical device detect. 2. Add wdog set for kernel. 3. Add mfgtool environments. 4. Modify SD/MMC environment offset. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'board/freescale/mx6sllevk/mx6sllevk.c')
-rw-r--r--board/freescale/mx6sllevk/mx6sllevk.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/freescale/mx6sllevk/mx6sllevk.c b/board/freescale/mx6sllevk/mx6sllevk.c
index c0ad89b..26d5979 100644
--- a/board/freescale/mx6sllevk/mx6sllevk.c
+++ b/board/freescale/mx6sllevk/mx6sllevk.c
@@ -200,8 +200,14 @@ int board_init(void)
int board_late_init(void)
{
+#ifdef CONFIG_ENV_IS_IN_MMC
+ board_late_mmc_env_init();
+#endif
+
imx_iomux_v3_setup_multiple_pads(wdog_pads, ARRAY_SIZE(wdog_pads));
+ set_wdog_reset((struct wdog_regs *)WDOG1_BASE_ADDR);
+
return 0;
}