Skip to content
Snippets Groups Projects
Commit 47d79deb authored by Bo Shen's avatar Bo Shen Committed by Marek Vasut
Browse files

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: default avatarBo Shen <voice.shen@atmel.com>
parent ec9002e4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment