summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-02-19 13:36:47 +0800
committerYe Li <ye.li@nxp.com>2016-03-25 11:24:52 +0800
commit6a7a584fdb42d1d12581533f8b50d615e466205a (patch)
tree0edc66b4e7d113e17117f822dd1641b6d34a8fc8 /include
parenta42cf5f3f7d950615f8c73a50b867b0611b43cc6 (diff)
downloadu-boot-imx-6a7a584fdb42d1d12581533f8b50d615e466205a.zip
u-boot-imx-6a7a584fdb42d1d12581533f8b50d615e466205a.tar.gz
u-boot-imx-6a7a584fdb42d1d12581533f8b50d615e466205a.tar.bz2
MLK-12416-3: imx: mx6ul evk: support NAND
Add NAND pinmux settings and related macros. Default not enabled, need hardware rework. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6ul_14x14_evk.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index 2bc6a8e..2bfa4ac 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -274,4 +274,20 @@
#endif
#endif
+/* NAND stuff */
+#ifdef CONFIG_NAND_MXS
+#define CONFIG_CMD_NAND
+#define CONFIG_CMD_NAND_TRIMFFS
+
+#define CONFIG_SYS_MAX_NAND_DEVICE 1
+#define CONFIG_SYS_NAND_BASE 0x40000000
+#define CONFIG_SYS_NAND_5_ADDR_CYCLE
+#define CONFIG_SYS_NAND_ONFI_DETECTION
+
+/* DMA stuff, needed for GPMI/MXS NAND support */
+#define CONFIG_APBH_DMA
+#define CONFIG_APBH_DMA_BURST
+#define CONFIG_APBH_DMA_BURST8
+#endif
+
#endif