diff options
| author | Ben Gardiner <[email protected]> | 2011-06-14 16:35:07 -0400 |
|---|---|---|
| committer | Scott Wood <[email protected]> | 2011-07-01 15:56:51 -0500 |
| commit | c9494866df835bcee68e17339aec1090faa704da (patch) | |
| tree | a1c782909c323bf839403dc3c0abb124567a99e2 /include/linux/err.h | |
| parent | 169d54d8b33b4d06d6f215e2b312a0b18f7909dc (diff) | |
cmd_nand: add nand write.trimffs command
Add another nand write. variant, trimffs. This command will request of
nand_write_skip_bad() that all trailing all-0xff pages will be
dropped from eraseblocks when they are written to flash as-per the
reccommended behaviour of the UBI FAQ [1].
The function that implements this timming is the drop_ffs() function
by Artem Bityutskiy, ported from the mtd-utils tree.
[1] http://www.linux-mtd.infradead.org/doc/ubi.html#L_flasher_algo
Signed-off-by: Ben Gardiner <[email protected]>
CC: Artem Bityutskiy <[email protected]>
CC: Detlev Zundel <[email protected]>
Acked-by: Scott Wood <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
Diffstat (limited to 'include/linux/err.h')
0 files changed, 0 insertions, 0 deletions
