diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2019-11-14 18:33:30 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-03 08:44:14 -0500 |
commit | 095764e369ec7e313f6cb45f633b203b4ec622cc (patch) | |
tree | 577f874eb3f6f1346442a01fce48e9496dafb6a0 /drivers | |
parent | 3ef94715cc011e3f0042019359f848f9f129b391 (diff) | |
download | u-boot-095764e369ec7e313f6cb45f633b203b4ec622cc.zip u-boot-095764e369ec7e313f6cb45f633b203b4ec622cc.tar.gz u-boot-095764e369ec7e313f6cb45f633b203b4ec622cc.tar.bz2 |
spl: ymodem: Fix loading of fit image
spl ymodem driver always assumes that 1 BUF_SIZE is read in one stream.
This might not be true when image is not padded to BUF_SIZE and the last
sector that gets loaded will be < BUF_SIZE. Drop this assumption and use
the actual size that is loaded.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions