mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] mtd: Do not write empty pages, UBI fix
@ 2013-02-20 10:47 Sascha Hauer
  2013-02-20 10:47 ` [PATCH 1/2] mtd: nand: do not write empty pages Sascha Hauer
  2013-02-20 10:47 ` [PATCH 2/2] libubi: Use global mtd_all_ff function Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Sascha Hauer @ 2013-02-20 10:47 UTC (permalink / raw)
  To: barebox

This is a patch for everybody flashing UBI images to nand devices.
Since some time we no longer skip empty pages during writes which
leads to CRC errors once an UBIFS is mounted r/w on a nand device.

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      mtd: nand: do not write empty pages
      libubi: Use global mtd_all_ff function

 drivers/mtd/core.c            |   32 ++++++++++++++++++++++++++++++++
 drivers/mtd/nand/nand_write.c |   10 ++++++----
 include/linux/mtd/mtd.h       |    2 ++
 lib/libscan.c                 |   13 +------------
 4 files changed, 41 insertions(+), 16 deletions(-)

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

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

end of thread, other threads:[~2013-02-20 10:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-20 10:47 [PATCH] mtd: Do not write empty pages, UBI fix Sascha Hauer
2013-02-20 10:47 ` [PATCH 1/2] mtd: nand: do not write empty pages Sascha Hauer
2013-02-20 10:47 ` [PATCH 2/2] libubi: Use global mtd_all_ff function Sascha Hauer

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