summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2016-12-13 17:56:57 +0100
committerStefano Babic <sbabic@denx.de>2016-12-16 17:16:10 +0100
commit704b9cfc9e81dd22d94d67ed6952f1a7132f9f15 (patch)
tree97a0f0571228b5bdf3115a26e882550d10beceb7
parentb05c344809ef45be7a5df9b6f4cc694551b0d66e (diff)
downloadu-boot-imx-704b9cfc9e81dd22d94d67ed6952f1a7132f9f15.zip
u-boot-imx-704b9cfc9e81dd22d94d67ed6952f1a7132f9f15.tar.gz
u-boot-imx-704b9cfc9e81dd22d94d67ed6952f1a7132f9f15.tar.bz2
imx6: geam6ul: Add default mtd nand partition table
geam6ul> mtdparts device nand0 <nand>, # parts = 6 0: spl 0x00200000 0x00000000 0 1: uboot 0x00200000 0x00200000 0 2: env 0x00100000 0x00400000 0 3: kernel 0x00400000 0x00500000 0 4: dtb 0x00100000 0x00900000 0 5: rootfs 0x1f600000 0x00a00000 0 Cc: Stefano Babic <sbabic@denx.de> Cc: Matteo Lisi <matteo.lisi@engicam.com> Cc: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
-rw-r--r--include/configs/imx6ul_geam.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/imx6ul_geam.h b/include/configs/imx6ul_geam.h
index 8938b80..7cfdfef 100644
--- a/include/configs/imx6ul_geam.h
+++ b/include/configs/imx6ul_geam.h
@@ -129,6 +129,8 @@
# define CONFIG_CMD_MTDPARTS
# define CONFIG_MTD_PARTITIONS
# define MTDIDS_DEFAULT "nand0=nand"
+# define MTDPARTS_DEFAULT "mtdparts=nand:2m(spl),2m(uboot)," \
+ "1m(env),4m(kernel),1m(dtb),-(rootfs)"
# define CONFIG_APBH_DMA
# define CONFIG_APBH_DMA_BURST