diff options
-rw-r--r-- | board/freescale/mx6slevk/mx6slevk.c | 8 | ||||
-rw-r--r-- | include/configs/mx6slevk.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c index 5241ef9..f814fbe 100644 --- a/board/freescale/mx6slevk/mx6slevk.c +++ b/board/freescale/mx6slevk/mx6slevk.c @@ -641,6 +641,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"); diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 5887f9a..7bb1e3e 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -72,6 +72,7 @@ "mmcdev=1\0" \ "mmcpart=1\0" \ "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \ + "mmcautodetect=yes\0" \ "mmcargs=setenv bootargs console=${console},${baudrate} " \ "root=${mmcroot}\0" \ "loadbootscript=" \ |