Re: [U-Boot] [PATCH 1/7] spl: ymodem: Fix FIT loading termination handling

2019-10-12 Thread Tom Rini
On Thu, Aug 15, 2019 at 03:55:26PM -0500, Andreas Dannenberg wrote: > During FIT reading through ymodem_read_fit() the function > xyzModem_stream_read() is being used which returns zero once the end > of a stream has been reached. This could lead to an premature exit from > ymodem_read_fit() with

[U-Boot] [PATCH 1/7] spl: ymodem: Fix FIT loading termination handling

2019-08-15 Thread Andreas Dannenberg
During FIT reading through ymodem_read_fit() the function xyzModem_stream_read() is being used which returns zero once the end of a stream has been reached. This could lead to an premature exit from ymodem_read_fit() with certain-sized FIT images reporting that zero bytes overall were read. Such a