mtd: atmel_nand: alloc memory instead of use static array for pmecc data
authorWu, Josh <Josh.wu@atmel.com>
Wed, 3 Jul 2013 03:11:48 +0000 (11:11 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 22 Aug 2013 14:50:44 +0000 (16:50 +0200)
commitddd85974b1685f51e1f2cbf690136fb2e1a2bf16
treec0571740ddb7884d642b3de7d12bfb6827009e34
parent2f96b06be5838bcb5e2ee7cbeba4fe59edfd29b0
mtd: atmel_nand: alloc memory instead of use static array for pmecc data

In this way, the pmecc corraction capbility can change in run time.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/mtd/nand/atmel_nand.c