configs: engicam: Rename nand with gpmi-name in mtdparts
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 21 Dec 2016 11:00:22 +0000 (12:00 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 2 Jan 2017 16:25:05 +0000 (17:25 +0100)
gpmi-nand is the proper name used in nand driver from Linux for all
imx related nand boards, so rename mtdparts name as gpmi-nand instead
of nand, this will eventually reflects all nand info to Linux from
u-boot like mtdparts.

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>
include/configs/imx6qdl_icore.h
include/configs/imx6ul_geam.h

index d57c73e9069a5b7af1fb6f9530e9f09953d1bc19..3848a6f0459ae6f328c378810993d4250f2c7f0e 100644 (file)
 # define CONFIG_MTD_DEVICE
 # define CONFIG_CMD_MTDPARTS
 # define CONFIG_MTD_PARTITIONS
-# define MTDIDS_DEFAULT                        "nand0=nand"
-# define MTDPARTS_DEFAULT              "mtdparts=nand:2m(spl),2m(uboot)," \
+# define MTDIDS_DEFAULT                        "nand0=gpmi-nand"
+# define MTDPARTS_DEFAULT              "mtdparts=gpmi-nand:2m(spl),2m(uboot)," \
                                        "1m(env),8m(kernel),1m(dtb),-(rootfs)"
 
 # define CONFIG_APBH_DMA
index 7c8a420d0dc575b00f0d27c2b81eeea179189bc1..e925c8f55db817b3aac43fb0c9d45990a39e813b 100644 (file)
 # define CONFIG_MTD_DEVICE
 # define CONFIG_CMD_MTDPARTS
 # define CONFIG_MTD_PARTITIONS
-# define MTDIDS_DEFAULT                        "nand0=nand"
-# define MTDPARTS_DEFAULT              "mtdparts=nand:2m(spl),2m(uboot)," \
+# define MTDIDS_DEFAULT                        "nand0=gpmi-nand"
+# define MTDPARTS_DEFAULT              "mtdparts=gpmi-nand:2m(spl),2m(uboot)," \
                                        "1m(env),8m(kernel),1m(dtb),-(rootfs)"
 
 # define CONFIG_APBH_DMA