diff options
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | 2016-09-27 10:55:47 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-11-15 15:27:50 +0100 |
commit | ba8adb26a0ad99097a0e222fb8c29c52e69d0162 (patch) | |
tree | df4948cf9c8e5ea5c4741d8bf500155f1ba03b04 /include | |
parent | ae798d2e7de0f404eaa846505f01bd88c5e70761 (diff) | |
download | u-boot-ba8adb26a0ad99097a0e222fb8c29c52e69d0162.zip u-boot-ba8adb26a0ad99097a0e222fb8c29c52e69d0162.tar.gz u-boot-ba8adb26a0ad99097a0e222fb8c29c52e69d0162.tar.bz2 |
zynq: nand: Enable Nand flash controller driver a zynq board
Enable zynq Nand flash controller driver for a zynq ZC770
XM011(dc2) board.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/zynq-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 4f0253c..3a2080f 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -76,6 +76,13 @@ # define CONFIG_SYS_FLASH_USE_BUFFER_WRITE #endif +#ifdef CONFIG_NAND_ZYNQ +#define CONFIG_CMD_NAND_LOCK_UNLOCK +#define CONFIG_SYS_MAX_NAND_DEVICE 1 +#define CONFIG_SYS_NAND_ONFI_DETECTION +#define CONFIG_MTD_DEVICE +#endif + /* MMC */ #if defined(CONFIG_ZYNQ_SDHCI) # define CONFIG_MMC |