From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 8/8] nand: make 1-bit software ECC configurable
Date: Tue, 1 Nov 2011 17:09:49 -0500 [thread overview]
Message-ID: <4EB06E2D.2040100@freescale.com> (raw)
In-Reply-To: <4EB06DCD.2050805@freescale.com>
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 <christian.hitz@aizo.com>
>>> Cc: Scott Wood <scottwood@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.
>
> 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
next prev parent reply other threads:[~2011-11-01 22:09 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 7:31 [U-Boot] [PATCH v2 1/8] nand: Merge BCH code from Linux nand driver Christian Hitz
2011-10-12 7:32 ` [U-Boot] [PATCH v2 2/8] nand: Add more NAND types " Christian Hitz
2012-01-10 23:24 ` Scott Wood
2011-10-12 7:32 ` [U-Boot] [PATCH v2 3/8] nand: cleanup whitespace Christian Hitz
2012-01-10 23:25 ` Scott Wood
2011-10-12 7:32 ` [U-Boot] [PATCH v2 4/8] nand: Merge changes from Linux nand driver Christian Hitz
2011-11-01 21:59 ` Scott Wood
2012-01-10 23:27 ` Scott Wood
2011-10-12 7:32 ` [U-Boot] [PATCH v2 5/8] nand: Merge new implementation of 1-bit ECC " Christian Hitz
2011-10-28 22:30 ` Scott Wood
2011-10-31 12:22 ` Christian Hitz
2011-10-31 20:15 ` Scott Wood
2011-11-01 7:49 ` Christian Hitz
2011-11-01 20:30 ` Scott Wood
2011-10-12 7:32 ` [U-Boot] [PATCH v2 6/8] nand: Merge changes to BBT " Christian Hitz
2012-01-10 23:27 ` Scott Wood
2011-10-12 7:32 ` [U-Boot] [PATCH v2 7/8] nand: Sanitize ONFI strings Christian Hitz
2012-01-10 23:28 ` Scott Wood
2011-10-12 7:32 ` [U-Boot] [PATCH v2 8/8] nand: make 1-bit software ECC configurable Christian Hitz
2011-11-01 22:04 ` Scott Wood
2011-11-01 22:08 ` Scott Wood
2011-11-01 22:09 ` Scott Wood [this message]
2012-01-10 23:24 ` [U-Boot] [PATCH v2 1/8] nand: Merge BCH code from Linux nand driver Scott Wood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB06E2D.2040100@freescale.com \
--to=scottwood@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox