[U-Boot] [PATCH v2] usb: dfu: make nand upload working
Marek Vasut
marex at denx.de
Fri Nov 8 20:45:36 CET 2013
Dear Bo Shen,
> 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 at atmel.com>
> ---
> Changes in v2:
> - Move code to nand part, or else it will break mmc
>
> drivers/dfu/dfu_nand.c | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.
Best regards,
Marek Vasut
More information about the U-Boot
mailing list