All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] allow scrubbing (erasing of bad blocks)
@ 2012-12-13 16:18 Wolfram Sang
  2012-12-13 16:18 ` [PATCH 1/2] mtd: nand: add flag to ignore special handling of bad blocks Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wolfram Sang @ 2012-12-13 16:18 UTC (permalink / raw)
  To: barebox; +Cc: Wolfram Sang

This patch series first adds a flag to mtd devices which disables special
treatment for bad blocks. That means, they are handled like every other good
block. The second one then adds a scrub command which is basically a simple
erase, only that bad blocks are treated like good blocks and are trying to be
erased (which may succeed or not). This is really *not recommended*, except for
certain development use cases!

Wolfram Sang (2):
  mtd: nand: add flag to allow erasing of bad blocks
  commands: add scrub

 commands/Kconfig              |    8 +++++
 commands/flash.c              |   68 ++++++++++++++++++++++++++++++++++++++++-
 drivers/mtd/core.c            |    9 +++++-
 drivers/mtd/nand/nand_write.c |   37 +++++++++++-----------
 include/linux/mtd/mtd-abi.h   |    2 ++
 5 files changed, 105 insertions(+), 19 deletions(-)

-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2012-12-20 22:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 16:18 [PATCH 0/2] allow scrubbing (erasing of bad blocks) Wolfram Sang
2012-12-13 16:18 ` [PATCH 1/2] mtd: nand: add flag to ignore special handling of bad blocks Wolfram Sang
2012-12-13 16:18 ` [PATCH 2/2] commands: add scrub Wolfram Sang
2012-12-20 22:06 ` [PATCH 0/2] allow scrubbing (erasing of bad blocks) Marc Reilly

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.