From: Jagan Teki Date: Tue, 13 Dec 2016 16:56:56 +0000 (+0100) Subject: imx6: geam6ul: Enable MTD device support X-Git-Tag: v2017.01-rc2~6^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b05c344809ef45be7a5df9b6f4cc694551b0d66e;p=oweals%2Fu-boot.git imx6: geam6ul: Enable MTD device support Enable MTD device, partition and command support. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- diff --git a/include/configs/imx6ul_geam.h b/include/configs/imx6ul_geam.h index 4fe130b7d5..8938b8079a 100644 --- a/include/configs/imx6ul_geam.h +++ b/include/configs/imx6ul_geam.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