• Bo Shen's avatar
    usb: dfu: make nand upload working · 47d79deb
    Bo Shen authored
    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>
    47d79deb
dfu_nand.c 4.93 KB