u-boot-brain/drivers/dfu
Heiko Schocher a67cc37e69 dfu, nand: before write a buffer to nand, erase the nand sectors
before writing the received buffer to nand, erase the nand
sectors. If not doing this, nand write fails. See for
more info here:

http://lists.denx.de/pipermail/u-boot/2013-June/156361.html

Using the nand erase option "spread", maybe overwrite
blocks on, for example another mtd partition, if the
erasing range contains bad blocks.
So a limit option is added to nand_erase_opts()

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2013-06-24 18:17:23 -05:00
..
dfu_mmc.c dfu: Support larger than memory transfers. 2013-04-10 13:42:05 +02:00
dfu_nand.c dfu, nand: before write a buffer to nand, erase the nand sectors 2013-06-24 18:17:23 -05:00
dfu.c dfu: NAND specific routines for DFU operation 2013-04-10 15:22:24 +02:00
Makefile dfu: NAND specific routines for DFU operation 2013-04-10 15:22:24 +02:00