diff options
author | Bo Shen <voice.shen@atmel.com> | 2013-11-07 14:29:41 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-11-08 20:46:20 +0100 |
commit | 47d79deb996797dddd0984cef8b48a566c82180e (patch) | |
tree | 0c75a31124bf41420ee00b06ff3cba12cb00bc92 /common/cmd_tpm.c | |
parent | ec9002e4fa9a1fcb769d39f54c62d661c810543b (diff) | |
download | u-boot-imx-47d79deb996797dddd0984cef8b48a566c82180e.zip u-boot-imx-47d79deb996797dddd0984cef8b48a566c82180e.tar.gz u-boot-imx-47d79deb996797dddd0984cef8b48a566c82180e.tar.bz2 |
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>
Diffstat (limited to 'common/cmd_tpm.c')
0 files changed, 0 insertions, 0 deletions