commit | 7ac012a8e7a55261a27e41725e867da23b5920f3 | [log] [tgz] |
---|---|---|
author | Lokesh Vutla <lokeshvutla@ti.com> | Thu Nov 14 18:33:30 2019 +0530 |
committer | Tom Rini <trini@konsulko.com> | Tue Dec 03 08:44:14 2019 -0500 |
tree | 577f874eb3f6f1346442a01fce48e9496dafb6a0 | |
parent | e33cd225383809bd3f40164f138a91229cc4c724 [diff] |
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>