Ben Gardiner c9494866df 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 <bengardiner@nanometrics.ca>
CC: Artem Bityutskiy <dedekind1@gmail.com>
CC: Detlev Zundel <dzu@denx.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2011-07-01 15:56:51 -05:00
..
2011-04-13 15:56:39 -04:00
2010-11-28 21:58:24 +01:00
2010-07-24 20:54:46 +02:00
2011-02-19 20:32:38 +01:00
2011-04-13 15:57:00 -04:00
2011-04-30 23:29:55 +02:00
2011-04-08 00:44:27 -04:00
2011-05-19 22:22:44 +02:00
2011-01-09 18:06:50 +01:00
2011-04-29 03:20:01 -05:00
2010-12-17 14:32:12 -06:00
2010-07-16 10:55:09 -05:00
2010-10-12 23:31:10 +02:00
2011-04-13 19:43:28 +10:00
2011-02-02 22:36:10 +01:00
2011-06-22 20:00:51 +02:00
2011-06-22 20:00:51 +02:00
2011-02-19 20:32:36 +01:00