[U-Boot] [PATCH v2 8/8] nand: make 1-bit software ECC configurable

Scott Wood scottwood at freescale.com
Tue Nov 1 23:04:30 CET 2011


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 <christian.hitz at aizo.com>
> Cc: Scott Wood <scottwood at freescale.com>
> ---
> 
> 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.

-Scott



More information about the U-Boot mailing list