summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2016-12-13 16:56:56 (GMT)
committerStefano Babic <sbabic@denx.de>2016-12-16 16:16:10 (GMT)
commitb05c344809ef45be7a5df9b6f4cc694551b0d66e (patch)
tree01a935bc5882bab474554c8678efad9d947e7b58
parent084cbb604807387b1a6ede1876273fbf056d6d48 (diff)
downloadu-boot-b05c344809ef45be7a5df9b6f4cc694551b0d66e.tar.xz
imx6: geam6ul: Enable MTD device support
Enable MTD device, partition and command support. 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>
-rw-r--r--include/configs/imx6ul_geam.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/imx6ul_geam.h b/include/configs/imx6ul_geam.h
index 4fe130b..8938b80 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