[U-Boot] [PATCH v3 0/4] introduce nand write.trimffs
Ben Gardiner
bengardiner at nanometrics.ca
Tue May 24 16:18:33 CEST 2011
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
More information about the U-Boot
mailing list