MIPS: Jz4740: Add NAND driver
authorXiangfu Liu <xiangfu@openmobilefree.net>
Wed, 12 Oct 2011 04:24:06 +0000 (12:24 +0800)
committerShinya Kuribayashi <skuribay@pobox.com>
Wed, 12 Oct 2011 14:28:37 +0000 (23:28 +0900)
commit3a6591a86a94f8bc0d552211e5422fe5cf91c2b9
treeb9617b01d2cfa2edbf153d4593ab05bdbb2a9fb3
parent80421fcc3ed1843f62a4a463548a4f33cdde362f
MIPS: Jz4740: Add NAND driver

Jz4740 NAND flash controller can support:
* MLC NAND as well as SLC NAND
* all 8-bit/16-bit NAND flash devices
* HAMMING and RS hardware ECC
* automatic boot up from NAND flash devices

nand_ecclayout is set up for 2GiB NAND chip mounted in Qi LB60.
We'll bring up boot-from-NAND support in nand_spl/ in the future.

Signed-off-by: Xiangfu Liu <xiangfu@openmobilefree.net>
Acked-by: Daniel <zpxu@ingenic.cn>
Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
drivers/mtd/nand/Makefile
drivers/mtd/nand/jz4740_nand.c [new file with mode: 0644]