Re: [U-Boot] [PATCH] dfu, nand: before write a buffer to nand, erase the nand sectors

2013-06-14 Thread Scott Wood
On 06/14/2013 05:24:03 AM, Heiko Schocher wrote: diff --git a/drivers/dfu/dfu_nand.c b/drivers/dfu/dfu_nand.c index 7dc89b2..6f9a934 100644 --- a/drivers/dfu/dfu_nand.c +++ b/drivers/dfu/dfu_nand.c @@ -63,12 +63,25 @@ static int nand_block_op(enum dfu_nand_op op, struct dfu_entity *dfu,

[U-Boot] [PATCH] dfu, nand: before write a buffer to nand, erase the nand sectors

2013-06-14 Thread Heiko Schocher
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 Signed-off-by: Heiko Schocher Cc: Scott Wood Cc: Pantelis Antoniou Cc: Lukasz Majewski Cc: Kyungmin Park