diff options
author | Ye.Li <B37916@freescale.com> | 2014-06-06 10:53:36 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-06-17 11:13:43 +0800 |
commit | 36b3b610b9b8c16a20071ad0b9f1e65917b0330d (patch) | |
tree | 2e3d4da6217d7f3ff9107e5a3c79876370cc9b25 /include/configs | |
parent | f971d798b3063c3778380a9fc71150500af261be (diff) | |
download | u-boot-imx-36b3b610b9b8c16a20071ad0b9f1e65917b0330d.zip u-boot-imx-36b3b610b9b8c16a20071ad0b9f1e65917b0330d.tar.gz u-boot-imx-36b3b610b9b8c16a20071ad0b9f1e65917b0330d.tar.bz2 |
ENGR00315894-27 i.mx6slevk/i.mx6qarm2: Change the MMC dev settings
1. Add CONFIG_SYS_MMC_ENV_PART to save env in user area.
2. Set the image load partition to first VFAT partition.
3. Set the kernel rootfs partition to second partition.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx6qarm2.h | 5 | ||||
-rw-r--r-- | include/configs/mx6slevk.h | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index 8af89fd..8ec32ca 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -88,8 +88,8 @@ "boot_fdt=try\0" \ "ip_dyn=yes\0" \ "mmcdev=1\0" \ - "mmcpart=2\0" \ - "mmcroot=/dev/mmcblk0p3 rootwait rw\0" \ + "mmcpart=1\0" \ + "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \ "mmcargs=setenv bootargs console=${console},${baudrate} " \ "root=${mmcroot}\0" \ "loadbootscript=" \ @@ -192,6 +192,7 @@ #define CONFIG_ENV_SIZE (8 * 1024) #define CONFIG_ENV_IS_IN_MMC #define CONFIG_SYS_MMC_ENV_DEV 1 +#define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */ #define CONFIG_OF_LIBFDT #define CONFIG_CMD_BOOTZ diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 64355c5..eb47a1c 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -201,6 +201,7 @@ #define CONFIG_ENV_SIZE SZ_8K #define CONFIG_SYS_MMC_ENV_DEV 1 +#define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */ #if defined CONFIG_SYS_BOOT_SPINOR #define CONFIG_SYS_USE_SPINOR |