MTD: NAND: JZ4740: Multi-bank support with autodetection
authorMaarten ter Huurne <maarten@treewalker.org>
Thu, 29 Mar 2012 17:17:01 +0000 (19:17 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 23 Jul 2012 12:56:20 +0000 (13:56 +0100)
commit1471d41a5bdfdf83ed1e5c2148a9763e64b1f53b
treee3e9ffb84311be6af7ba2dccaad0d0f287a8cb32
parent28a33cbc24e4256c143dce96c7d93bf423229f92
MTD: NAND: JZ4740: Multi-bank support with autodetection

The platform data can now specify which external memory banks to probe
for NAND chips, and in which order. Banks that contain a NAND are used
and the other banks are freed.

Squashed version of development done in jz-2.6.38 branch.
Original patch by Lars-Peter Clausen with some bug fixes from me.
Thanks to Paul Cercueil for the initial autodetection patch.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3560/
Acked-By: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-jz4740/jz4740_nand.h
arch/mips/jz4740/platform.c
drivers/mtd/nand/jz4740_nand.c