diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2016-10-08 12:30:27 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-10-26 17:00:06 (GMT) |
commit | 310db71d042d6a224d77dd5b4fd34b8fb0210733 (patch) | |
tree | aceef9ccf7b27145c20adee9d359551b7231146d /include/configs | |
parent | 023ff2f732077a5b3f96e96f191b1045d45d16c4 (diff) | |
download | u-boot-310db71d042d6a224d77dd5b4fd34b8fb0210733.tar.xz |
imx6: icorem6: Enable MTD device support
Enable MTD device, partition and command support.
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>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/imx6qdl_icore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/imx6qdl_icore.h b/include/configs/imx6qdl_icore.h index cd3aa43..6e33ec3 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 |