[U-Boot] [PATCH V5 RESEND 1/3] mtd/NAND: Add FSMC driver support

Vikram Narayanan vikram186 at gmail.com
Thu May 24 18:34:35 CEST 2012


On 5/24/2012 10:58 AM, Amit Virdi wrote:
> From: Vipin KUMAR<vipin.kumar at st.com>
>
> Flexible static memory controller is a peripheral provided by ST,
> which controls the access to NAND chips along with many other
> memory device chips eg NOR, SRAM.
>
> This patch adds the driver support for FSMC controller interfacing
> with NAND memory.
>
> Signed-off-by: Vipin Kumar<vipin.kumar at st.com>
> Signed-off-by: Amit Virdi<amit.virdi at st.com>
> ---
>   drivers/mtd/nand/Makefile     |    1 +
>   drivers/mtd/nand/fsmc_nand.c  |  487 +++++++++++++++++++++++++++++++++++++++++
>   include/linux/mtd/fsmc_nand.h |  101 +++++++++
>   3 files changed, 589 insertions(+), 0 deletions(-)
>   create mode 100644 drivers/mtd/nand/fsmc_nand.c
>   create mode 100644 include/linux/mtd/fsmc_nand.h
>
> diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
> index 1d1b628..29dc20e 100644
> --- a/drivers/mtd/nand/Makefile
> +++ b/drivers/mtd/nand/Makefile
> @@ -49,6 +49,7 @@ COBJS-$(CONFIG_NAND_DAVINCI) += davinci_nand.o
>   COBJS-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o
>   COBJS-$(CONFIG_NAND_FSL_IFC) += fsl_ifc_nand.o
>   COBJS-$(CONFIG_NAND_FSL_UPM) += fsl_upm.o
> +COBJS-$(CONFIG_NAND_FSMC) += fsmc_nand.o
>   COBJS-$(CONFIG_NAND_JZ4740) += jz4740_nand.o
>   COBJS-$(CONFIG_NAND_KB9202) += kb9202_nand.o
>   COBJS-$(CONFIG_NAND_KIRKWOOD) += kirkwood_nand.o
> diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c
> new file mode 100644
> index 0000000..292fa8c
> --- /dev/null
> +++ b/drivers/mtd/nand/fsmc_nand.c
> @@ -0,0 +1,487 @@
> +/*
> + * (C) Copyright 2010
> + * Vipin Kumar, ST Micoelectronics, vipin.kumar at st.com.
> + *
> + * (C) Copyright 2012
> + * Amit Virdi, ST Micoelectronics, amit.virdi at st.com.

Fix the typo please. In all the copyright headers.

~Vikram


More information about the U-Boot mailing list