Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu CASTET <matthieu.castet@parrot.com>
To: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	Brian Norris <norris@broadcom.com>
Subject: Re: strange bad block code
Date: Thu, 21 Apr 2011 17:21:37 +0200	[thread overview]
Message-ID: <4DB04B81.5070408@parrot.com> (raw)
In-Reply-To: <4DB039C0.5030209@parrot.com>

Matthieu CASTET a écrit :
> Hi,
> 
> while looking at the bad block code, I saw that e0b58d0a introduced a
> "chip->badblockbits" for bad block detection in nand_block_bad[1].
> That's great because to we can use it to handle bit flip in bad block marker.
> 
> But few commit latter c7b28e25cb9 removed "chip->badblockbits = 8;" from common
> code.
> So now chip->badblockbits = 0.
> 
> How such code wan works ?
> 
> Adding NAND_SKIP_BBTSCAN in any driver, expose the problem.
> 
BTW nand_block_bad seems broken with the new NAND_BBT_SCAN2NDPAGE and
NAND_BBT_SCANBYTE1AND6.

      reply	other threads:[~2011-04-21 15:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-21 14:05 strange bad block code Matthieu CASTET
2011-04-21 15:21 ` Matthieu CASTET [this message]

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=4DB04B81.5070408@parrot.com \
    --to=matthieu.castet@parrot.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=norris@broadcom.com \
    /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