From: Jagan Teki Date: Sat, 8 Oct 2016 12:30:27 +0000 (+0530) Subject: imx6: icorem6: Enable MTD device support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=310db71d042d6a224d77dd5b4fd34b8fb0210733;p=project%2Fbcm63xx%2Fu-boot.git imx6: icorem6: Enable MTD device support Enable MTD device, partition and command support. Cc: Stefano Babic Cc: Peng Fan Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- diff --git a/include/configs/imx6qdl_icore.h b/include/configs/imx6qdl_icore.h index cd3aa43771..6e33ec31b3 100644 --- a/include/configs/imx6qdl_icore.h +++ b/include/configs/imx6qdl_icore.h @@ -124,6 +124,12 @@ # define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE # define CONFIG_SYS_NAND_U_BOOT_OFFS 0x200000 +/* MTD device */ +# define CONFIG_MTD_DEVICE +# define CONFIG_CMD_MTDPARTS +# define CONFIG_MTD_PARTITIONS +# define MTDIDS_DEFAULT "nand0=nand" + # define CONFIG_APBH_DMA # define CONFIG_APBH_DMA_BURST # define CONFIG_APBH_DMA_BURST8