From: Thomas Gleixner <tglx@linutronix.de>
To: "David A. Marlin" <dmarlin@redhat.com>
Cc: MTD List <linux-mtd@lists.infradead.org>
Subject: Re: AG-AND requested changes
Date: Thu, 13 Jan 2005 09:58:28 +0100 [thread overview]
Message-ID: <1105606708.3116.20.camel@lap02.tec.linutronix.de> (raw)
In-Reply-To: <41E59642.2040508@redhat.com>
Hi David,
On Wed, 2005-01-12 at 22:27, David A. Marlin wrote:
> Thomas:
> Note: I have two additional comments regarding the proposed solutions.
>
> 1) The code changes use an array of bad block table addresses (one for
> each chip) in case the erase spans multiple chips and BBT per chip is
> used. Based on my testing I don't think this ever occurs (at least for
> this device). If we could assume that it would never occur, the code
> for this could be simplified (no array or loops required).
Let it this way, so all possible combinations are covered. Please do not
make it dependend on NAND_IS_AND, invent a new option like
BBT_AUTO_REFRESH or what ever nice symbol you imagine.
So in case other chips suffer from the same problem we have the solution
handy without touching the code. The trend is going to those multibit
cells so I expect this to be neccecary for other devices too.
> 2) The command for 'device recovery' is a two cycle command, but the
> first command byte is 0x00 (same as for READ0). Since the process
> requires that we can distinguish between a recovery and a read
> operation, I added a high order bit to the initial command (0x100) to
> make it unique and masked it off when actually sending the command.
> Please let me know if you have a more elegant (or acceptable) solution.
Looks sane. You call this from the board driver I guess ?
tglx
next prev parent reply other threads:[~2005-01-13 8:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-12 21:27 AG-AND requested changes David A. Marlin
2005-01-13 8:58 ` Thomas Gleixner [this message]
2005-01-13 10:00 ` David A. Marlin
2005-01-14 20:47 ` David A. Marlin
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=1105606708.3116.20.camel@lap02.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=dmarlin@redhat.com \
--cc=linux-mtd@lists.infradead.org \
/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