Searched hist:"169 d54d8b33b4d06d6f215e2b312a0b18f7909dc" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | nand.h | 169d54d8b33b4d06d6f215e2b312a0b18f7909dc Tue Jun 14 20:35:06 UTC 2011 Ben Gardiner <bengardiner@nanometrics.ca> nand_util: drop trailing all-0xff pages if requested
Add a flag to nand_read_skip_bad() such that if true, any trailing pages in an eraseblock whose contents are entirely 0xff will be dropped.
The implementation is via a new drop_ffs() function which is based on the function of the same name from the ubiformat utility by Artem Bityutskiy.
This is as-per the reccomendations of the UBI FAQ [1]
[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> Acked-by: Detlev Zundel <dzu@denx.de> CC: Scott Wood <scottwood@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
|