u-boot/drivers/mtd/nand
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
..
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
atmel_nand.c atmel_nand: don't require CONFIG_SYS_NAND_ENABLE_PIN 2011-04-01 14:49:08 -05:00
atmel_nand_ecc.h at91: add hwecc method for nand 2010-03-23 14:29:09 -05:00
bfin_nand.c Blackfin: bfin_nand: convert to portmux framework 2010-07-13 17:50:49 -04:00
davinci_nand.c davinci_nand, trivial : use symbolic ECC start command 2010-10-17 20:14:43 +02:00
diskonchip.c Remove legacy NAND and disk on chip code. 2009-07-16 19:07:47 -05:00
fsl_elbc_nand.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
fsl_upm.c fsl_upm: Add MxMR/MDR synchronization 2010-12-13 09:32:15 -06:00
kb9202_nand.c KB9202: Add NAND support 2009-08-26 15:37:01 -05:00
kirkwood_nand.c nand: Add Marvell Kirkwood NAND driver 2009-07-08 21:20:10 +02:00
kmeter1_nand.c 83xx, kmeter1: added NAND support 2009-08-26 15:37:02 -05:00
mpc5121_nfc.c mpc512x. Micron nand flash needs a reset before a read command is issued. 2009-09-22 22:59:42 +02:00
mxc_nand.c mxc_nand: add support for i.MX35 processor 2011-02-02 00:54:42 +01:00
nand.c nand: fix bug with multiple NAND devices if CONFIG_MTD_DEVICE is defined. 2011-01-12 17:13:10 -06:00
nand_base.c nand_base: trivial: fix comment read/write comment 2011-07-01 15:56:51 -05:00
nand_bbt.c nand: remove dead code and suspend/resume 2010-10-11 15:10:35 -05:00
nand_ecc.c nand: remove dead code and suspend/resume 2010-10-11 15:10:35 -05:00
nand_ids.c nand: constify id/manu tables 2010-12-17 14:32:11 -06:00
nand_plat.c mtd: nand_plat: add simple GPIO framework DEV_READY option 2010-07-08 16:52:12 -05:00
nand_util.c nand_util: drop trailing all-0xff pages if requested 2011-07-01 15:56:51 -05:00
ndfc.c ppc4xx/NAND: Reduce size of NAND SPL image 2010-11-27 23:35:09 +01:00
nomadik.c nomadik/nand: fix 'ecc512' discards qualifiers from pointer target type 2009-02-22 17:56:50 +01:00
omap_gpmc.c omap3: replace all instances of gpmc config struct by one global 2009-08-08 11:34:11 +02:00
s3c64xx.c s3c64xx: move s3c64xx header files to asm-arm/arch-s3c64xx 2009-11-27 16:26:13 -06:00
s3c2410_nand.c fix s3c2410_nand timing default values 2010-12-06 18:28:48 -06:00
spr_nand.c mod change 755 => 644 for multiple files 2010-03-21 22:22:53 +01:00