uboot/common
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
..
Makefile ARM: drop unsupported 'trab' board 2011-06-22 20:00:51 +02:00
bedbug.c
cmd_ambapp.c
cmd_bdinfo.c cosmetic: cmd_bdinfo.c: clean up by using checkpatch.pl 2011-05-12 23:31:07 +02:00
cmd_bedbug.c
cmd_bmp.c cmd_bmp.c: message about compressed formats is debug info only. 2011-02-09 21:32:20 +01:00
cmd_boot.c make `go` optional 2011-04-13 15:56:39 -04:00
cmd_bootldr.c Blackfin: bootldr: use common defines 2011-04-08 00:44:27 -04:00
cmd_bootm.c Respect memreserve regions specified in the device tree 2011-04-25 21:11:21 -04:00
cmd_cache.c
cmd_console.c
cmd_cplbinfo.c
cmd_cramfs.c cramfs: make cramfs usable without a NOR flash 2011-05-10 22:47:32 +02:00
cmd_dataflash_mmc_mux.c
cmd_date.c cmd_date: constify 2010-11-28 21:58:24 +01:00
cmd_dcr.c
cmd_df.c
cmd_diag.c
cmd_display.c
cmd_dtt.c
cmd_echo.c
cmd_eeprom.c
cmd_elf.c
cmd_exit.c
cmd_ext2.c
cmd_fat.c
cmd_fdc.c Revert "boot cmds: convert to getenv_yesno() with autostart" 2011-01-11 20:56:34 +01:00
cmd_fdos.c Revert "boot cmds: convert to getenv_yesno() with autostart" 2011-01-11 20:56:34 +01:00
cmd_fdt.c common/cmd_fdt.c: fix wrong data displayed in fdt print 2011-06-01 22:44:50 +02:00
cmd_flash.c Fix build warnings in cmd_flash.c 2011-02-19 20:32:38 +01:00
cmd_fpga.c
cmd_gpio.c gpio: check request result 2011-04-13 15:57:00 -04:00
cmd_help.c
cmd_i2c.c i2c: add i2c deblock sequence before and after every mux config 2011-04-28 10:56:54 +02:00
cmd_ide.c IDE: fix compiler warnings 2011-04-30 23:29:55 +02:00
cmd_immap.c
cmd_irq.c
cmd_itest.c itest: fix result of string compares 2011-02-15 21:45:55 +01:00
cmd_jffs2.c cmd_jffs2: Fix get_part_sector_size_nor() overflow bug 2011-01-19 00:04:43 +01:00
cmd_ldrinfo.c Blackfin: ldrinfo: new command 2011-04-08 00:44:27 -04:00
cmd_led.c Minor coding style cleanup. 2011-05-19 22:22:44 +02:00
cmd_license.c
cmd_load.c
cmd_log.c
cmd_mac.c
cmd_md5sum.c md5sum/sha1sum/unzip: split out of mondo mem file 2011-04-13 15:56:47 -04:00
cmd_mdio.c common/cmd_mdio.c: fix compile warning 2011-04-30 23:09:48 +02:00
cmd_mem.c md5sum/sha1sum/unzip: split out of mondo mem file 2011-04-13 15:56:47 -04:00
cmd_mfsl.c
cmd_mgdisk.c
cmd_mii.c miiphy: convert to linux/mii.h 2011-01-09 18:06:50 +01:00
cmd_misc.c
cmd_mmc.c mmc: enable partition switch function for emmc 2011-05-18 14:37:03 -05:00
cmd_mmc_spi.c mmc_spi: add mmc_init call 2011-04-29 03:20:01 -05:00
cmd_mp.c
cmd_mtdparts.c
cmd_nand.c cmd_nand: add nand write.trimffs command 2011-07-01 15:56:51 -05:00
cmd_net.c sntp: avoid use of uninitialized variable 2011-06-01 22:35:09 +02:00
cmd_nvedit.c cmd_nvedit.c: make error message more helpful 2011-05-12 19:47:14 +02:00
cmd_onenand.c onenand: add yaffs write command 2010-12-17 14:32:12 -06:00
cmd_otp.c
cmd_pci.c
cmd_pcmcia.c
cmd_portio.c
cmd_reginfo.c
cmd_reiser.c
cmd_sata.c
cmd_scsi.c Revert "boot cmds: convert to getenv_yesno() with autostart" 2011-01-11 20:56:34 +01:00
cmd_setexpr.c
cmd_sf.c cmd_sf: use cmd_usage() in more places 2011-04-12 02:30:25 -04:00
cmd_sha1sum.c md5sum/sha1sum/unzip: split out of mondo mem file 2011-04-13 15:56:47 -04:00
cmd_source.c
cmd_spi.c
cmd_spibootldr.c
cmd_strings.c
cmd_terminal.c
cmd_test.c
cmd_tsi148.c
cmd_ubi.c UBI: Fix error code handling in ubi commands 2011-03-21 10:02:16 +01:00
cmd_ubifs.c UBI/UBIFS: Automatically unmount UBIFS volume upon UBI partition change 2010-12-03 18:24:04 +01:00
cmd_universe.c
cmd_unzip.c md5sum/sha1sum/unzip: split out of mondo mem file 2011-04-13 15:56:47 -04:00
cmd_usb.c Fix misc spelling errors found by lintian 2011-04-12 22:58:31 +02:00
cmd_version.c Print compiler and linker version with the version command 2011-02-02 21:56:39 +01:00
cmd_ximg.c
cmd_yaffs2.c
command.c env: re-add support for auto-completion 2011-01-09 17:57:37 +01:00
console.c stdio: constify "name" arg in public api 2010-11-28 21:58:48 +01:00
ddr_spd.c mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements 2011-04-04 09:24:43 -05:00
dlmalloc.c
dlmalloc.src
env_common.c env: re-add support for auto-completion 2011-01-09 17:57:37 +01:00
env_dataflash.c hashtable: drop all non-reentrant versions 2010-12-17 21:07:14 +01:00
env_eeprom.c hashtable: drop all non-reentrant versions 2010-12-17 21:07:14 +01:00
env_embedded.c
env_flash.c hashtable: drop all non-reentrant versions 2010-12-17 21:07:14 +01:00
env_mgdisk.c
env_mmc.c env_mmc: Allow board code to override the environment address 2011-04-04 22:26:16 -05:00
env_nand.c env_nand: zero-initialize variable nand_erase_options 2011-05-24 16:08:44 -05:00
env_nowhere.c
env_nvram.c hashtable: drop all non-reentrant versions 2010-12-17 21:07:14 +01:00
env_onenand.c hashtable: drop all non-reentrant versions 2010-12-17 21:07:14 +01:00
env_sf.c fix redundant environment for serial flash 2011-04-28 00:46:01 +02:00
exports.c x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
fdt_support.c Fix off-by-one error in passing initrd end address via device tree 2011-04-25 21:11:21 -04:00
flash.c
hush.c common/hush: make get_local_var visible for other users 2011-05-10 23:19:07 +02:00
hwconfig.c Minor Coding Style Cleanup. 2011-02-02 22:36:10 +01:00
image.c Respect memreserve regions specified in the device tree 2011-04-25 21:11:21 -04:00
iomux.c
kallsyms.c
kgdb.c
kgdb_stubs.c
lcd.c lcd: align fb writing address for horizontal display offset 2011-01-27 00:20:59 +01:00
lynxkdi.c
main.c ARM: drop unsupported 'trab' board 2011-06-22 20:00:51 +02:00
memsize.c
miiphyutil.c miiphy: miiphyutil.c: fix compile warning 2011-04-30 23:09:25 +02:00
modem.c
s_record.c
serial.c serial: Add Tegra2 serial port support 2011-02-21 08:30:55 +01:00
stdio.c stdio: constify "name" arg in public api 2010-11-28 21:58:48 +01:00
system_map.c
update.c
usb.c Add USB host ethernet adapter support 2011-02-19 20:32:36 +01:00
usb_kbd.c
usb_storage.c Fix misc spelling errors found by lintian 2011-04-12 22:58:31 +02:00
xyzModem.c