All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerlando Falauto <gerlando.falauto@keymile.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] kirkwood_nand: allow usage of NAND_ECC_SOFT_BCH
Date: Mon, 08 Apr 2013 10:42:03 +0200	[thread overview]
Message-ID: <516282DB.6080504@keymile.com> (raw)
In-Reply-To: <F766E4F80769BD478052FB6533FA745D25F41F4237@SC-VEXCH4.marvell.com>

Hi Prafulla,

could you please pull these before we hit 2013.04?

Namely:
http://patchwork.ozlabs.org/patch/212438/
http://patchwork.ozlabs.org/patch/212441/
http://patchwork.ozlabs.org/patch/212439/
http://patchwork.ozlabs.org/patch/212440/

Thanks!
Gerlando

On 02/11/2013 04:39 AM, Prafulla Wadaskar wrote:
>
>
>> -----Original Message-----
>> From: Holger Brunck [mailto:holger.brunck at keymile.com]
>> Sent: 16 January 2013 14:04
>> To: u-boot at lists.denx.de
>> Cc: Gerlando Falauto; Holger Brunck; Valentin Longchamp; Prafulla
>> Wadaskar
>> Subject: [PATCH] kirkwood_nand: allow usage of NAND_ECC_SOFT_BCH
>>
>> From: Gerlando Falauto <gerlando.falauto@keymile.com>
>>
>> If CONFIG_NAND_ECC_BCH is set use 4-bit error correction code instead
>> of
>> the 1-bit error correction code on the NAND device.
>>
>> Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
>> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
>> cc: Valentin Longchamp <valentin.longchamp@keymile.com>
>> cc: Prafulla Wadaskar <prafulla@marvell.com>
>> ---
>>   drivers/mtd/nand/kirkwood_nand.c |    4 ++++
>>   1 files changed, 4 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/mtd/nand/kirkwood_nand.c
>> b/drivers/mtd/nand/kirkwood_nand.c
>> index bdab5aa..0a99a10 100644
>> --- a/drivers/mtd/nand/kirkwood_nand.c
>> +++ b/drivers/mtd/nand/kirkwood_nand.c
>> @@ -74,7 +74,11 @@ void kw_nand_select_chip(struct mtd_info *mtd, int
>> chip)
>>   int board_nand_init(struct nand_chip *nand)
>>   {
>>   	nand->options = NAND_COPYBACK | NAND_CACHEPRG | NAND_NO_PADDING;
>> +#if defined(CONFIG_NAND_ECC_BCH)
>> +	nand->ecc.mode = NAND_ECC_SOFT_BCH;
>> +#else
>>   	nand->ecc.mode = NAND_ECC_SOFT;
>> +#endif
>>   	nand->cmd_ctrl = kw_nand_hwcontrol;
>>   	nand->chip_delay = 40;
>>   	nand->select_chip = kw_nand_select_chip;
>
> Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
> Will pull this latter.
>
> Regards...
> Prafulla . . .
>
>> --
>> 1.7.1
>

  parent reply	other threads:[~2013-04-08  8:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-16  8:34 [U-Boot] [PATCH] kirkwood_nand: allow usage of NAND_ECC_SOFT_BCH Holger Brunck
2013-02-11  3:39 ` Prafulla Wadaskar
2013-02-11 19:25   ` Scott Wood
2013-04-08  8:42   ` Gerlando Falauto [this message]
2013-04-08  8:46     ` Prafulla Wadaskar

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=516282DB.6080504@keymile.com \
    --to=gerlando.falauto@keymile.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.