[U-Boot] [PATCH v3 2/2] zynq: nand: Enable Nand flash controller driver a zynq board

Michal Simek monstr at monstr.eu
Tue Oct 18 09:07:40 CEST 2016


On 27.9.2016 07:25, Siva Durga Prasad Paladugu wrote:
> Enable zynq Nand flash controller driver for a zynq ZC770
> XM011(dc2) board.
> 
> Signed-off-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
> ---
> Changes for v3:
> - None
> Changes for v2:
> - Corrected the from address
> ---
>  configs/zynq_zc770_xm011_defconfig | 2 ++
>  include/configs/zynq-common.h      | 7 +++++++
>  2 files changed, 9 insertions(+)
> 
> diff --git a/configs/zynq_zc770_xm011_defconfig b/configs/zynq_zc770_xm011_defconfig
> index b841fdc..3ce7114 100644
> --- a/configs/zynq_zc770_xm011_defconfig
> +++ b/configs/zynq_zc770_xm011_defconfig
> @@ -4,6 +4,7 @@ CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm011"
>  CONFIG_FIT=y
>  CONFIG_FIT_VERBOSE=y
>  CONFIG_FIT_SIGNATURE=y
> +CONFIG_NAND_ZYNQ=y
>  CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM011"
>  CONFIG_SYS_NO_FLASH=y
>  CONFIG_SPL=y
> @@ -18,6 +19,7 @@ CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_CACHE=y
> +CONFIG_CMD_NAND=y
>  CONFIG_NET_RANDOM_ETHADDR=y
>  CONFIG_SPL_DM_SEQ_ALIAS=y
>  CONFIG_ZYNQ_GEM=y
> diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
> index 260df2f..27c02e5 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
> 

Applied both to my tree.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161018/64668edc/attachment.sig>


More information about the U-Boot mailing list