nand_spl_simple: add support for software ECC
authorIlya Yanok <yanok@emcraft.com>
Mon, 28 Nov 2011 06:37:37 +0000 (06:37 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:36 +0000 (23:59 +0100)
commit1df308e5be76ec42ade8fb21f623f36ba09217bd
tree19ea8959f104971e98015ba79f03c94b0ad655d1
parentad2a7909a1430321224ea25c808494b4df8d1140
nand_spl_simple: add support for software ECC

This patch adds support for software ECC to the nand_spl_simple driver.
To enable this one have to define CONFIG_SPL_NAND_SOFTECC.

Tested on OMAP3.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Acked-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_ecc.c
drivers/mtd/nand/nand_spl_simple.c