summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2013-11-18 09:58:04 +0800
committerHuang Shijie <b32955@freescale.com>2013-11-18 09:58:04 +0800
commit4243a8363a481dd96ecb344501af64dac24bc217 (patch)
tree4feab351dc3fce2aa341ad0380b33ba7bafbc403
parente7feac26f75e641b7ec183d59684be18edd95b46 (diff)
downloadu-boot-imx-4243a8363a481dd96ecb344501af64dac24bc217.zip
u-boot-imx-4243a8363a481dd96ecb344501af64dac24bc217.tar.gz
u-boot-imx-4243a8363a481dd96ecb344501af64dac24bc217.tar.bz2
ENGR00288341 NAND: change the rootfs's mtd number for NAND boot
Since the imx6q{dl}-sabreauto-gpmi-weim.dts also enables the WEIN NOR which is mtd0. So the rootfs's mtd number becomes mtd4 now. Signed-off-by: Huang Shijie <b32955@freescale.com>
-rw-r--r--include/configs/mx6qsabre_common.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
index 669a377..f9fbbfb 100644
--- a/include/configs/mx6qsabre_common.h
+++ b/include/configs/mx6qsabre_common.h
@@ -136,17 +136,18 @@
#if defined(CONFIG_SYS_BOOT_NAND)
/*
- * The partions' layout for NAND is:
- * mtd0: 16M (uboot)
- * mtd1: 16M (kernel)
- * mtd2: 16M (dtb)
- * mtd3: left (rootfs)
+ * The dts also enables the WEIN NOR which is mtd0.
+ * So the partions' layout for NAND is:
+ * mtd1: 16M (uboot)
+ * mtd2: 16M (kernel)
+ * mtd3: 16M (dtb)
+ * mtd4: left (rootfs)
*/
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_MFG_ENV_SETTINGS \
"fdt_addr=0x18000000\0" \
"fdt_high=0xffffffff\0" \
- "bootargs=console=" CONFIG_CONSOLE_DEV ",115200 ubi.mtd=3 " \
+ "bootargs=console=" CONFIG_CONSOLE_DEV ",115200 ubi.mtd=4 " \
"root=ubi0:rootfs rootfstype=ubifs " \
"mtdparts=gpmi-nand:16m(boot),16m(kernel),16m(dtb),-(rootfs)\0"\
"bootcmd=nand read ${loadaddr} 0x1000000 0x800000;"\