RE: goofy mtd m25p80 patches in GIT ...

Chen Gong-B11801
2008-10-20T08:16:19Z

> -----Original Message-----
> From: David Woodhouse [mailto:dwmw2@infradead.org]
> Sent: 2008?10?20? 16:03
> To: Chen Gong-B11801
> Cc: David Brownell; linux-mtd@lists.infradead.org
> Subject: RE: goofy mtd m25p80 patches in GIT ...
>
> On Mon, 2008-10-20 at 15:56 +0800, Chen Gong-B11801 wrote:
> > I'm not sure whether I catch your word. Frankly I agree
> that we need a
> > chip-erase command but in fact current MTD doesn't support
> this kind of interface
> > (only one erase interface), so I can't give you a new patch :-(
>
> 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?

I prefer to the first opinion -- renaming 'erase_block' to 'erase_chip',
it looks
more straightforward