[PATCH][v4] NAND Machine support for Integrated Flash Controller

Kumar Gala galak at kernel.crashing.org
Fri Mar 16 11:49:22 EDT 2012


On Mar 15, 2012, at 12:34 AM, Prabhakar Kushwaha wrote:

> Integrated Flash Controller(IFC) can be used to hook NAND Flash
> chips using NAND Flash Machine available on it.
> 
> Signed-off-by: Dipen Dudhat <Dipen.Dudhat at freescale.com>
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> Signed-off-by: Li Yang <leoli at freescale.com>
> Signed-off-by: Liu Shuo <b35362 at freescale.com>
> Signed-off-by: Poonam Aggrwal <poonam.aggrwal at freescale.com>
> Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
> ---
> Beased on http://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git
> 	    branch master
> 
> Tested on P1010RDB
> 
> Changes for v2: Ported IFC driver for linux-3.2.0-rc3 
> 	- Use chip->bbt_options for BBT
> 	- Use mtd_device_parse_register instead of old parse_mtd_partitions
> 
>  Changes for v3: Squashed following patch to make singe NAND driver patch
> 	- mtd/nand:Fix wrong usage of is_blank() in fsl_ifc_run_command
> 		http://patchwork.ozlabs.org/patch/136547/
> 	- mtd/nand: Fix IFC driver to support 2K NAND page
> 		http://patchwork.ozlabs.org/patch/135010/
> 
>  Changes for v4:
> 	- fsl_ifc_run_command: handled wait_event_timeout timeout-return case
> 	- Removed unused full_page variable
> 	- fsl_ifc_read_page: Updated Error message
> 	- fsl_ifc_nand_probe: removed possible memory leak for priv variable 
> 
> 
> drivers/mtd/nand/Kconfig        |   10 +
> drivers/mtd/nand/Makefile       |    1 +
> drivers/mtd/nand/fsl_ifc_nand.c | 1072 +++++++++++++++++++++++++++++++++++++++
> 3 files changed, 1083 insertions(+), 0 deletions(-)
> create mode 100644 drivers/mtd/nand/fsl_ifc_nand.c

applied

- k


More information about the linux-mtd mailing list