[PATCH v2 6/8] mtd: atmel_nand: Support PMECC on SAMA5D2
Rob Herring
robh at kernel.org
Sat Jan 16 16:18:43 PST 2016
On Fri, Jan 15, 2016 at 11:35:00AM +0100, Romain Izard wrote:
> 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.
>
> Signed-off-by: Romain Izard <romain.izard.pro at gmail.com>
> ---
> v2: Split rewording of the binding into its own patch
>
> .../devicetree/bindings/mtd/atmel-nand.txt | 5 ++++-
Acked-by: Rob Herring <robh at kernel.org>
> drivers/mtd/nand/atmel_nand.c | 23 +++++++++++++++++++++-
> drivers/mtd/nand/atmel_nand_ecc.h | 8 ++++++--
> 3 files changed, 32 insertions(+), 4 deletions(-)
More information about the linux-mtd
mailing list