at91: add hwecc method for nand
authorNikolay Petukhov <nikolaypetukhov@gmail.com>
Fri, 19 Mar 2010 05:49:27 +0000 (10:49 +0500)
committerScott Wood <scottwood@freescale.com>
Tue, 23 Mar 2010 19:29:09 +0000 (14:29 -0500)
commit7c27b7b1eac43cdcda735bad6231cdfc1f602284
tree43d12f8dfe6db47cbad728e56cd65bf42a303d71
parentcc41a59a74ca9095d518d6d69655c6735dd00809
at91: add hwecc method for nand

This is a patch to use the hardware ECC controller of
the AT91SAM9260 for the AT91 nand. Taken from the kernel 2.6.33.

Signed-off-by: Nikolay Petukhov <Nikolay.Petukhov@gmail.com>
drivers/mtd/nand/atmel_nand.c
drivers/mtd/nand/atmel_nand_ecc.h [new file with mode: 0644]