mtd: atmel_nand: introduce a new compatible string for sama5d4 chip
authorWu, Josh <Josh.wu@atmel.com>
Mon, 19 Jan 2015 08:33:06 +0000 (16:33 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 20 Jan 2015 20:47:01 +0000 (12:47 -0800)
commit51585778f63adaadbc67399e172fcf11daa9f032
treee3d933ed03654569a1bb6df9068d7d61f7b277f6
parent267d46e635c575e9c8b2932d9617266e6e67ee99
mtd: atmel_nand: introduce a new compatible string for sama5d4 chip

Since in SAMA5D4 chip, the PMECC can correct bit flips in erased page.
So we add a DT property to indicate this hardware character.

If the PMECC support correct bitflip erased page (all data are 0xff).
Then we can use the PMECC correct the page and skip the erased page
check.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/devicetree/bindings/mtd/atmel-nand.txt
drivers/mtd/nand/atmel_nand.c