commit | 8892548e0a98186394fea27f048d703f8e71a3e1 | [log] [tgz] |
---|---|---|
author | Bo Shen <voice.shen@atmel.com> | Thu Nov 07 14:29:41 2013 +0800 |
committer | Marek Vasut <marex@denx.de> | Fri Nov 08 20:46:20 2013 +0100 |
tree | 0c75a31124bf41420ee00b06ff3cba12cb00bc92 | |
parent | 1799fa8fc0ef9c5f404219e16bc640ca712729af [diff] |
usb: dfu: make nand upload working Nowhere pass a value to len, which always 0, make no transfer which cause uploading failed. This patch make nand upload working. However it needs enough malloc buffer to store read data, that means the buffer at least equal to the upload partition size, or else it doesn't work. Signed-off-by: Bo Shen <voice.shen@atmel.com>