From: Tom Rini Date: Tue, 3 Dec 2019 23:01:47 -0500 Subject: [U-Boot] [PATCH] spl: ymodem: Fix loading of fit image In-Reply-To: <20191114130330.1332-1-lokeshvutla@ti.com> References: <20191114130330.1332-1-lokeshvutla@ti.com> Message-ID: <20191204040147.GT15966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Nov 14, 2019 at 06:33:30PM +0530, Lokesh Vutla wrote: > 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: