Files
u-boot-tk1-som/include
Ben Gardiner 169d54d8b3 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>
2011-07-01 15:56:51 -05:00
..
2011-06-27 22:22:16 +02:00
2008-10-18 21:54:03 +02:00
2011-04-20 15:09:19 -05:00
2010-04-13 09:13:04 +02:00
2010-04-13 09:13:04 +02:00
2009-10-03 10:17:56 +02:00
2008-12-15 22:05:36 +01:00
2009-03-20 22:39:13 +01:00
2009-10-03 10:17:56 +02:00
2010-01-27 21:23:14 +01:00
2008-05-21 00:14:08 +02:00
2008-10-18 21:54:03 +02:00
2008-05-10 11:44:55 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2011-06-22 20:00:51 +02:00
2009-10-27 20:58:25 +01:00
2009-01-24 00:23:09 +01:00
2008-05-21 00:14:08 +02:00
2009-09-04 21:54:52 +02:00
2008-10-18 21:54:03 +02:00
2010-09-19 19:29:47 +02:00
2010-12-09 10:24:09 +01:00
2008-03-26 23:38:54 +01:00
2011-05-19 22:22:44 +02:00
2008-10-18 21:54:03 +02:00
2011-04-30 23:29:55 +02:00
2009-10-13 06:17:35 -05:00
2010-10-27 22:48:30 +02:00
2008-10-18 21:54:03 +02:00
2010-01-21 22:26:00 +01:00
2009-04-03 23:47:06 +02:00
2011-04-20 15:09:19 -05:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2010-10-12 22:44:33 +02:00
2008-10-18 21:54:03 +02:00
2010-07-16 10:55:09 -05:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2011-05-19 21:38:32 +02:00
2011-02-02 00:54:42 +01:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2010-03-21 22:44:42 +01:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2010-04-21 23:42:38 +02:00
2008-10-18 21:54:03 +02:00
2009-11-13 16:56:18 -06:00
2009-04-03 23:47:06 +02:00
2008-05-21 00:14:08 +02:00
2010-03-12 23:06:04 +01:00
2008-10-18 21:54:03 +02:00
2011-03-27 19:19:54 +02:00
2008-10-18 21:54:03 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2011-04-28 01:00:07 +02:00
2008-05-21 00:14:08 +02:00
2009-10-03 10:17:56 +02:00
2011-06-22 20:00:51 +02:00
2009-10-03 10:17:56 +02:00
2008-05-21 00:14:08 +02:00
2011-04-29 07:32:48 -05:00
2009-01-28 19:57:27 +01:00
2011-02-19 20:32:36 +01:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2009-10-03 10:17:56 +02:00
2008-10-18 21:54:03 +02:00
2010-05-28 10:56:04 -04:00