mtd: atmel_nand: Support PMECC on SAMA5D2
authorRomain Izard <romain.izard.pro@gmail.com>
Wed, 10 Feb 2016 09:56:25 +0000 (10:56 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 12 Feb 2016 18:27:47 +0000 (10:27 -0800)
commit5575075612cadd504dd8c8e1b8c66fa5d48b7042
tree90033057252bf88c41ae31ee9ab27c2919270fbc
parentec4ee5fb97f887bc334acc48307f3f30b6148336
mtd: atmel_nand: Support PMECC on SAMA5D2

Starting with the SAMA5D2, there is a new revision of the Atmel PMECC
controller that can correct 32 bits in each sector. This controller is
not 100% compatible with the previous revision that corrected a maximum
of 24 bits by sector, as some register addresses overlap.

Using information from the device tree, we can configure the driver to
work with both versions.

For the binding:
Acked-by: Rob Herring <robh@kernel.org>
Tested-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/devicetree/bindings/mtd/atmel-nand.txt
drivers/mtd/nand/atmel_nand.c
drivers/mtd/nand/atmel_nand_ecc.h
This page took 0.029031 seconds and 5 git commands to generate.