]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/mtd/nand/pxa3xx_nand.c
[MTD] [NAND] support for pxa3xx
authoreric miao <eric.miao@marvell.com>
Thu, 14 Feb 2008 07:48:23 +0000 (15:48 +0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 18:27:27 +0000 (19:27 +0100)
commitfe69af002e26ca39824f626459c16d642607b573
tree761c1bc2325eaed041a9fbe3a1fe18d9f6c9b988
parentb73d7e4381311bea024bf7cedcba3dcf20f63aab
[MTD] [NAND] support for pxa3xx

This is preliminary since:

1. It supports only _one_ chip select at the moment. As there is no
   existing platforms available using two chip selects of the NAND
   controller, it shall really not include code for supporting the
   2nd chip select for now, as such code cannot be verified.

2. It resorts to the default and simpliest memory based badblock
   table

3. Only limited types of nand flash are currently supported. Most
   PXA3xx processors come with on-chip NAND flash dies, so there
   isn't much flexibility for other types of NAND.

4. The NAND controller should be configured to detect the device's
   ID, thus making it difficult to use nand_scan_ident() to assist
   the detection process (though it's not impossible)

TODO: fix all the above limitations of cuz :-)

Signed-off-by: eric miao <eric.miao@marvell.com>
Cc: Sergey Podstavin <spodstavin@ru.mvista.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/Makefile
drivers/mtd/nand/pxa3xx_nand.c [new file with mode: 0644]
include/asm-arm/arch-pxa/pxa3xx_nand.h [new file with mode: 0644]