1 From 6148f4558952fd04d76ec5494447a678df9d79d4 Mon Sep 17 00:00:00 2001
2 From: "Ye.Li" <Ye.Li@freescale.com>
3 Date: Mon, 1 Sep 2014 10:33:47 +0800
4 Subject: [PATCH] iMX6: Change mmcroot to use fixed mmc block index for USDHC
5 Organization: O.S. Systems Software LTDA.
7 Kernel changed to use fixed mmcblk index for USDHC, which is
12 Thus, change the default mmcroot in u-boot to fit the changes in kernel.
14 Upstream-Status: Pending
16 Signed-off-by: Ye.Li <Ye.Li@freescale.com>
18 include/configs/mx6qarm2.h | 2 +-
19 include/configs/mx6qsabreauto.h | 2 +-
20 include/configs/mx6sabresd.h | 2 +-
21 include/configs/mx6slevk.h | 2 +-
22 include/configs/mx6sxsabresd.h | 2 +-
23 5 files changed, 5 insertions(+), 5 deletions(-)
25 diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
26 index 6e01fa0..b1719b9 100644
27 --- a/include/configs/mx6qarm2.h
28 +++ b/include/configs/mx6qarm2.h
33 - "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
34 + "mmcroot=/dev/mmcblk3p2 rootwait rw\0" \
35 "mmcargs=setenv bootargs console=${console},${baudrate} " \
38 diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
39 index 0ab3127..cca9c8f 100644
40 --- a/include/configs/mx6qsabreauto.h
41 +++ b/include/configs/mx6qsabreauto.h
43 #elif defined CONFIG_MX6DL
44 #define CONFIG_DEFAULT_FDT_FILE "imx6dl-sabreauto.dtb"
46 -#define CONFIG_MMCROOT "/dev/mmcblk0p2"
47 +#define CONFIG_MMCROOT "/dev/mmcblk2p2"
48 #define PHYS_SDRAM_SIZE (2u * 1024 * 1024 * 1024)
51 diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
52 index 21ff2bc..635cfc3 100644
53 --- a/include/configs/mx6sabresd.h
54 +++ b/include/configs/mx6sabresd.h
56 #define CONFIG_MACH_TYPE 3980
57 #define CONFIG_MXC_UART_BASE UART1_BASE
58 #define CONFIG_CONSOLE_DEV "ttymxc0"
59 -#define CONFIG_MMCROOT "/dev/mmcblk0p2"
60 +#define CONFIG_MMCROOT "/dev/mmcblk2p2"
61 #if defined(CONFIG_MX6Q)
62 #define CONFIG_DEFAULT_FDT_FILE "imx6q-sabresd-ldo.dtb"
63 #elif defined(CONFIG_MX6DL)
64 diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
65 index 3b051d7..1b5b616 100644
66 --- a/include/configs/mx6slevk.h
67 +++ b/include/configs/mx6slevk.h
72 - "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
73 + "mmcroot=/dev/mmcblk1p2 rootwait rw\0" \
74 "mmcargs=setenv bootargs console=${console},${baudrate} " \
77 diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
78 index e02ea18..dce4851 100644
79 --- a/include/configs/mx6sxsabresd.h
80 +++ b/include/configs/mx6sxsabresd.h
85 - "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
86 + "mmcroot=/dev/mmcblk3p2 rootwait rw\0" \
87 "mmcargs=setenv bootargs console=${console},${baudrate} " \