summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2015-11-17 14:30:09 +0530
committerScott Wood <oss@buserror.net>2016-02-12 17:27:28 -0600
commit78cb965af088f992930ff2a3e0967acd1f0ad87b (patch)
tree675eb1fd22d8e8e4bb09ecb324eb0a4639745c92 /include
parent065a373d9318c83a493ca833d64881418449d429 (diff)
downloadu-boot-imx-78cb965af088f992930ff2a3e0967acd1f0ad87b.zip
u-boot-imx-78cb965af088f992930ff2a3e0967acd1f0ad87b.tar.gz
u-boot-imx-78cb965af088f992930ff2a3e0967acd1f0ad87b.tar.bz2
zynqmp: nand: Add Nand driver support for zynqmp
Add nand driver support for zynqmp. The Nand controller used in ZynqMP is Arasan Nand Flash controller. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> [scottwood: Fix checkpatch warning] Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'include')
-rw-r--r--include/configs/xilinx_zynqmp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index 27ef74d..28622de 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -105,6 +105,15 @@
# define CONFIG_CMD_EXT4_WRITE
#endif
+#ifdef CONFIG_NAND_ARASAN
+# define CONFIG_CMD_NAND
+# define CONFIG_CMD_NAND_LOCK_UNLOCK
+# define CONFIG_SYS_MAX_NAND_DEVICE 1
+# define CONFIG_SYS_NAND_SELF_INIT
+# define CONFIG_SYS_NAND_ONFI_DETECTION
+# define CONFIG_MTD_DEVICE
+#endif
+
/* Miscellaneous configurable options */
#define CONFIG_SYS_LOAD_ADDR 0x8000000