On 11/01/2011 05:04 PM, Scott Wood wrote: > On Wed, Oct 12, 2011 at 09:32:06AM +0200, Christian Hitz wrote: >> The software ECC algorithm is not necessary when hardware ECC >> is available and can be left out for a smaller image size. >> Enable with CONFIG_MTD_ECC_SOFT. >> >> Signed-off-by: Christian Hitz <[email protected]> >> Cc: Scott Wood <[email protected]> >> --- >> >> Saves 2312 bytes of image size when software ECC is not used. >> >> Changes since v1: >> - new option to disable software ECC >> >> drivers/mtd/nand/Makefile | 2 +- >> drivers/mtd/nand/nand_base.c | 4 ++++ >> include/linux/mtd/nand_ecc.h | 25 +++++++++++++++++++++++++ >> 3 files changed, 30 insertions(+), 1 deletions(-) > > Please check which boards select drivers which may use soft ECC, > and have them #define CONFIG_MTD_ECC_SOFT.
Also document the option in doc/README.nand, and it should probably be CONFIG_SYS_NAND_ECC_SOFT. -Scott _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

