[U-Boot] [PATCH 4/4] [v3] cmd_nand: add nand write.trimffs command
Detlev Zundel
dzu at denx.de
Fri May 27 11:41:56 CEST 2011
Hi Ben,
> 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 at nanometrics.ca>
> CC: Artem Bityutskiy <dedekind1 at gmail.com>
> CC: Detlev Zundel <dzu at denx.de>
Thanks - looks good now.
Acked-by: Detlev Zundel <dzu at denx.de>
Cheers
Detlev
--
More than any other time in history, mankind faces a crossroads. One
path leads to despair and utter hopelessness. The other to total
extinction. Let us pray, we have the wisdom to choose correctly.
-- Woody Allen
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
More information about the U-Boot
mailing list