]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx6: icorem6: Add default mtd nand partition table
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 8 Oct 2016 12:30:28 +0000 (18:00 +0530)
committerStefano Babic <sbabic@denx.de>
Wed, 26 Oct 2016 17:00:06 +0000 (19:00 +0200)
icorem6qdl> 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: Peng Fan <peng.fan@nxp.com>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
include/configs/imx6qdl_icore.h

index 6e33ec31b36b6c6c64964206922ebbb299622e2d..f8a1263eed211a7ad033d932d0ae6ae4527799b1 100644 (file)
 # 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