Skip to content
Commit 095764e3 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini
Browse files

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: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 3ef94715
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment