[PATCH 3/3] MTD: spi-nor: add flag to not use sector erase.

Rafał Miłecki zajec5 at gmail.com
Fri May 1 14:56:57 PDT 2015


On 30 April 2015 at 23:13, Michal Suchanek <hramrach at gmail.com> wrote:
> The sector size of the flash memory is unclear from datasheet or may
> possibly vary between chips so add a flag to always use 4k blocks.
>
> Currently 4k blocks are always used when possible but in the future
> somebody might want to do some optimizations with sector erase.

AFAIK most sources call 4K a sector and 64K a block. I think we should
try to stick to that (even if some current code doesn't). So it would
be nice to call 4K a sector (instead of block).



More information about the linux-mtd mailing list