From: Tom Rini Date: Tue, 8 May 2018 13:15:42 -0400 Subject: [U-Boot] [U-Boot, 2/3] fastboot: sparse: make write_sparse_image useable for non-fastboot In-Reply-To: <1522996509-23324-1-git-send-email-jassisinghbrar@gmail.com> References: <1522996509-23324-1-git-send-email-jassisinghbrar@gmail.com> Message-ID: <20180508171542.GA12235@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Apr 06, 2018 at 12:05:09PM +0530, jassisinghbrar at gmail.com wrote: > From: Jassi Brar > > write_sparse_image could be useful for non-fastboot users. > For ex a platform, without usb-device/fastboot support, could > get sparse images over tftp and write using the mmc command. > Or non-android systems could also leverage the sparse format. > > Towards that, this patch removes anything fastboot specific from > the write_sparse_image implementation. Which includes making the > function return integer as error code and calls for fastboot logging > via an optional callback function 'mssg'. > > Signed-off-by: Jassi Brar Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: