summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-02-23 12:50:49 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:04:29 +0800
commit9d1094112c27fec9b0eaef0c09f488c38ee812dd (patch)
tree3f3d91bc4fb4c17414541286e1e11af77f539cf2 /board
parentada56a50c577719f7004ecb3674940d445d927d2 (diff)
downloadu-boot-imx-9d1094112c27fec9b0eaef0c09f488c38ee812dd.zip
u-boot-imx-9d1094112c27fec9b0eaef0c09f488c38ee812dd.tar.gz
u-boot-imx-9d1094112c27fec9b0eaef0c09f488c38ee812dd.tar.bz2
MLK-12434-6: mx6slevk: dynamic setting mmcdev and mmcroot
Dynamic setting mmcdev and mmcroot for mx6slevk. Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 3308f3c48c644938c415ead23ed9acedc2fd7981)
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6slevk/mx6slevk.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c
index 2e2d5b2..a40c1be 100644
--- a/board/freescale/mx6slevk/mx6slevk.c
+++ b/board/freescale/mx6slevk/mx6slevk.c
@@ -627,6 +627,14 @@ int board_init(void)
return 0;
}
+int board_late_init(void)
+{
+#ifdef CONFIG_ENV_IS_IN_MMC
+ board_late_mmc_env_init();
+#endif
+ return 0;
+}
+
int checkboard(void)
{
puts("Board: MX6SLEVK\n");