[U-Boot] [PATCH v2 23/35] nand: Add zynq nand controller driver support

Marek Vasut marex at denx.de
Wed Dec 18 16:37:55 CET 2013


On Wednesday, December 18, 2013 at 04:30:08 PM, Jagannadha Sutradharudu Teki 
wrote:
> Added support for Zynq Nand controller driver.
> 
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
> CC: Marek Vasut <marex at denx.de>
> Cc: Scott Wood <scottwood at freescale.com>
> ---
> V2: Fixed issues pointed by Scott
> 
>  arch/arm/include/asm/arch-zynq/hardware.h |    2 +
>  drivers/mtd/nand/Makefile                 |    1 +
>  drivers/mtd/nand/zynq_nand.c              | 1198
> +++++++++++++++++++++++++++++ 3 files changed, 1201 insertions(+)
>  create mode 100644 drivers/mtd/nand/zynq_nand.c

[...]

> +#define zynq_nand_smc_base	((struct zynq_nand_smc_regs __iomem *)\
> +				ZYNQ_SMC_BASEADDR)

Why don't you make this a static const * variable ?
[...]
Best regards,
Marek Vasut


More information about the U-Boot mailing list