Fwd: [PATCH 1/1] drivers/mtd/devices/m25p80.c: Fix whole device erase

Artem Bityutskiy dedekind1 at gmail.com
Fri Sep 21 09:42:18 EDT 2012


On Fri, 2012-09-21 at 14:39 +0200, Cédric Cano wrote:
> From: Cédric Cano<ccano at interfaceconcept.com>
> 
> When the whole SPI Flash is erased, the chip erase command is sent to the
> device without waiting for end of erase. So next read/write accesses are
> in failure.

Can you wait while the chip erase to finish?

> This patch removes chip erase to use only sector per sector erase for
> whole Flash too. When chip erase is done, Flash can be accessed without
> error.

How much slower is this method?

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120921/066be6f2/attachment-0001.sig>


More information about the linux-mtd mailing list