public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/4] introduce nand write.trimffs
@ 2011-05-24 14:18 Ben Gardiner
  2011-05-24 14:18 ` [U-Boot] [PATCH 1/4] [v3] nand_base: trivial: fix comment read/write comment Ben Gardiner
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Ben Gardiner @ 2011-05-24 14:18 UTC (permalink / raw)
  To: u-boot

This series adds a nand write variant which implements the procedure
reccomended in the UBI FAQ [1] of dropping trailing pages of eraseblocks
containing entirely 0xff's.

[1] http://www.linux-mtd.infradead.org/doc/ubi.html#L_flasher_algo

Changes since v2:
 * dropped WITH_DEFAULTS in favour of '0'
 * moved copyright header to nand_util patch
 * added write.trimffs variant to README.nand

Changes since v1:
 * renamed to 'trimffs' from 'ubi'
 * wrapped the new feature in #ifdefs
 * don't make it default for jffs -- patch dropped
 * attribution of the drop_ffs() function from mtd-utils to Artem

Ben Gardiner (4):
  [v3] nand_base: trivial: fix comment read/write comment
  [v3] nand_util: convert nand_write_skip_bad() to flags
  [v3] nand_util: drop trailing all-0xff pages if requested
  [v3] cmd_nand: add nand write.trimffs command

 common/cmd_nand.c            |   19 +++++++++++++++++-
 doc/README.nand              |   10 +++++++++
 drivers/mtd/nand/nand_base.c |    2 +-
 drivers/mtd/nand/nand_util.c |   43 +++++++++++++++++++++++++++++++++++------
 include/nand.h               |    6 ++++-
 5 files changed, 70 insertions(+), 10 deletions(-)

-- 
1.7.4.1

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

end of thread, other threads:[~2011-06-15 23:05 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24 14:18 [U-Boot] [PATCH v3 0/4] introduce nand write.trimffs Ben Gardiner
2011-05-24 14:18 ` [U-Boot] [PATCH 1/4] [v3] nand_base: trivial: fix comment read/write comment Ben Gardiner
2011-06-06 21:32   ` Scott Wood
2011-05-24 14:18 ` [U-Boot] [PATCH 2/4] [v3] nand_util: convert nand_write_skip_bad() to flags Ben Gardiner
2011-06-06 21:32   ` Scott Wood
2011-05-24 14:18 ` [U-Boot] [PATCH 3/4] [v3] nand_util: drop trailing all-0xff pages if requested Ben Gardiner
2011-05-27  9:43   ` Detlev Zundel
2011-06-06 20:58   ` Scott Wood
2011-06-07 13:09     ` Ben Gardiner
2011-06-07 16:34       ` Scott Wood
2011-06-14 20:35         ` [U-Boot] [PATCH v4 0/3] introduce nand write.trimffs Ben Gardiner
2011-06-14 20:35           ` [U-Boot] [PATCH 1/3] [v4] nand_util: treat WITH_YAFFS_OOB as a mode Ben Gardiner
2011-06-14 20:35           ` [U-Boot] [PATCH 2/3] [v4] nand_util: drop trailing all-0xff pages if requested Ben Gardiner
2011-06-14 20:35           ` [U-Boot] [PATCH 3/3] [v4] cmd_nand: add nand write.trimffs command Ben Gardiner
2011-06-15 23:05           ` [U-Boot] [PATCH v4 0/3] introduce nand write.trimffs Scott Wood
2011-05-24 14:18 ` [U-Boot] [PATCH 4/4] [v3] cmd_nand: add nand write.trimffs command Ben Gardiner
2011-05-27  9:41   ` Detlev Zundel
2011-06-06 21:00   ` Scott Wood
2011-06-07 13:09     ` Ben Gardiner

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