From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 1 Nov 2011 17:09:49 -0500 Subject: [U-Boot] [PATCH v2 8/8] nand: make 1-bit software ECC configurable In-Reply-To: <4EB06DCD.2050805@freescale.com> References: <1318404726-27147-1-git-send-email-christian.hitz@aizo.com> <1318404726-27147-8-git-send-email-christian.hitz@aizo.com> <20111101220430.GA7716@schlenkerla.am.freescale.net> <4EB06DCD.2050805@freescale.com> Message-ID: <4EB06E2D.2040100@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/01/2011 05:08 PM, Scott Wood wrote: > 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 >>> Cc: Scott Wood >>> --- >>> >>> 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. Ignore me on the CONFIG_SYS bit, not sure what I was thinking. -Scott