[PATCH] [MTD] devices/mtd_dataflash: Add SW sector protection support

David Brownell david-b at pacbell.net
Tue Mar 31 18:30:44 EDT 2009

On Tuesday 31 March 2009, Mike McTernan wrote:
> > The terminology is confusing ... there are now two kinds 
> > of "sector" in the driver.  Call one of them "lock sector"
> > or somesuch,
> It's as per the datasheet figure 4-1; the device has pages, blocks and
> sectors.  Blocks aren't very interesting so are not in the driver, but
> pages and sectors are.  But I see only one use of sectors in this
> driver, what am I missing?

See current usage of the word "sector" in the driver.
Maybe that just needs to be corrected ("page"?).

> > so it makes sense to check the count of such sectors
> Could you clarify what you mean here?

You use "zero sectors" to indicate whether it supports that
new mechanism.

More information about the linux-mtd mailing list