public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] Add full flash erase support in mtd-utils
@ 2021-04-23 15:07 Larisa Ileana Grigore
  2021-04-23 15:07 ` [PATCH 1/1] mtd-utils: flash_erase: Add flash erase chip Larisa Ileana Grigore
  0 siblings, 1 reply; 4+ messages in thread
From: Larisa Ileana Grigore @ 2021-04-23 15:07 UTC (permalink / raw)
  To: linux-mtd

Some flash types support full erase chip command but there was no
support for it in mtd-utils. The full erase chip command can reduce the
flash erase time significantly. The patch will try first to erase the
entire flash and fall back to the old method if the operation fails.


Larisa Ileana Grigore (1):
  mtd-utils: flash_erase: Add flash erase chip

 include/libmtd.h         | 15 +++++++
 lib/libmtd.c             | 26 ++++++++---
 misc-utils/flash_erase.c | 95 ++++++++++++++++++++++++++++++----------
 3 files changed, 106 insertions(+), 30 deletions(-)

-- 
2.17.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-05  6:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-23 15:07 [PATCH] Add full flash erase support in mtd-utils Larisa Ileana Grigore
2021-04-23 15:07 ` [PATCH 1/1] mtd-utils: flash_erase: Add flash erase chip Larisa Ileana Grigore
2021-04-23 16:54   ` Michael Walle
2021-05-05  6:50   ` David Oberhollenzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox