]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
iMX6: Change mmcroot to use fixed mmc block index for USDHC
authorYe.Li <Ye.Li@freescale.com>
Mon, 1 Sep 2014 02:33:47 +0000 (10:33 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 5 Oct 2015 12:26:41 +0000 (09:26 -0300)
Kernel changed to use fixed mmcblk index for USDHC, which is
mmcblk0 --> USDHC1
mmcblk1 --> USDHC2
mmcblk2 --> USDHC3
mmcblk3 --> USDHC4
Thus, change the default mmcroot in u-boot to fit the changes in kernel.

Signed-off-by: Ye.Li <Ye.Li@freescale.com>
include/configs/mx6qarm2.h
include/configs/mx6qsabreauto.h
include/configs/mx6sabresd.h
include/configs/mx6slevk.h
include/configs/mx6sxsabresd.h

index 86a03160ddbe8fa405ec4c96ef05449ec695a055..49b908f847f6cba571a34d175bcb3c101bbfa4d2 100644 (file)
@@ -44,7 +44,7 @@
        "ip_dyn=yes\0" \
        "mmcdev=1\0" \
        "mmcpart=1\0" \
-       "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
+       "mmcroot=/dev/mmcblk3p2 rootwait rw\0" \
        "mmcargs=setenv bootargs console=${console},${baudrate} " \
                "root=${mmcroot}\0" \
        "loadbootscript=" \
index 1c998058a94f1baa593490e7d067f3a432f1df62..f611ed8ea162d18708704ef40ae11c137717985d 100644 (file)
@@ -12,7 +12,7 @@
 #define CONFIG_MACH_TYPE       3529
 #define CONFIG_MXC_UART_BASE   UART4_BASE
 #define CONFIG_CONSOLE_DEV             "ttymxc3"
-#define CONFIG_MMCROOT                 "/dev/mmcblk0p2"
+#define CONFIG_MMCROOT                 "/dev/mmcblk2p2"
 #define PHYS_SDRAM_SIZE                (2u * 1024 * 1024 * 1024)
 
 /* USB Configs */
index e9e3b27f36355c43ae1cd0d3667abbe24c30921b..99afbbc56667438bbac2a269ed5889afa099f656 100644 (file)
@@ -18,7 +18,7 @@
 #define CONFIG_MACH_TYPE       3980
 #define CONFIG_MXC_UART_BASE   UART1_BASE
 #define CONFIG_CONSOLE_DEV             "ttymxc0"
-#define CONFIG_MMCROOT                 "/dev/mmcblk1p2"
+#define CONFIG_MMCROOT                 "/dev/mmcblk2p2"
 #define PHYS_SDRAM_SIZE                (1u * 1024 * 1024 * 1024)
 
 #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
index 79259a9b87d3b78207e03fc366b27becf0bf5b6b..1ffcde1782e4f17da315e86f80f611d561275c95 100644 (file)
@@ -71,7 +71,7 @@
        "ip_dyn=yes\0" \
        "mmcdev=1\0" \
        "mmcpart=1\0" \
-       "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
+       "mmcroot=/dev/mmcblk1p2 rootwait rw\0" \
        "mmcargs=setenv bootargs console=${console},${baudrate} " \
                "root=${mmcroot}\0" \
        "loadbootscript=" \
index edf7d3f93a05772a49f7e944fdb949f7e0d4cb58..5d0df3fb524376135f19e31b89fe35e5f58324a9 100644 (file)
@@ -38,7 +38,7 @@
        "ip_dyn=yes\0" \
        "mmcdev=2\0" \
        "mmcpart=1\0" \
-       "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
+       "mmcroot=/dev/mmcblk3p2 rootwait rw\0" \
        "mmcargs=setenv bootargs console=${console},${baudrate} " \
                "root=${mmcroot}\0" \
        "loadbootscript=" \