public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Chen Gong-B11801 <G.Chen@freescale.com>, linux-mtd@lists.infradead.org
Subject: Re: goofy mtd m25p80 patches in GIT ...
Date: Mon, 20 Oct 2008 01:24:38 -0700	[thread overview]
Message-ID: <200810200124.38256.david-b@pacbell.net> (raw)
In-Reply-To: <1224489768.6770.1527.camel@macbook.infradead.org>

On Monday 20 October 2008, David Woodhouse wrote:
> I think the interface is fine -- if you ask it to erase the whole chip
> (start == 0, len == size), then it'll use a chip erase command if it has
> one, or fall back to erasing individual blocks.
> 
> I think David just wanted a cleanup to the nomenclature -- renaming
> 'erase_block' to 'erase_chip', perhaps, and changing the #define for the
> command?

Exactly.  Since the existing erase block calls are not
doing whole-chip erasure ... and since chip-erase is
a *VERY* different operation.

The MTD interface just says "erase this stuff", and
that patch just added a special case "if <stuff> is
the whole chip, use this operation instead of the
existing iterate-over-blocks logic".

- Dave

  parent reply	other threads:[~2008-10-20  8:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-19 22:35 goofy mtd m25p80 patches in GIT David Brownell
2008-10-20  7:32 ` Chen Gong-B11801
2008-10-20  8:21   ` David Brownell
2008-10-20  7:40 ` David Woodhouse
2008-10-20  7:42   ` Chen Gong-B11801
2008-10-20  7:44     ` David Woodhouse
2008-10-20  7:56       ` Chen Gong-B11801
2008-10-20  8:02         ` David Woodhouse
2008-10-20  8:16           ` Chen Gong-B11801
2008-10-20  8:30             ` David Brownell
2008-10-20  8:37               ` Chen Gong-B11801
2008-10-20  8:24           ` David Brownell [this message]
2008-10-20  8:04   ` David Brownell
2008-10-20  8:12     ` David Woodhouse

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=200810200124.38256.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=G.Chen@freescale.com \
    --cc=dwmw2@infradead.org \
    --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