]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: ymodem: Move GZ handling out of YModem session
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 12 Mar 2019 03:00:09 +0000 (04:00 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 9 Apr 2019 16:19:09 +0000 (18:19 +0200)
commitd574c19b89549964b2cc30e3e542109cfc22466b
treec16ed73ada606c02702618a9f616b6348fa4152e
parent6d8dbe4862f0b343427fc4f2bd15aefab73706bf
spl: ymodem: Move GZ handling out of YModem session

In case the gunzip() call fails, it will print an error message.
If that happens within the YModem session, the error message will
not be displayed and would be useless. Move the gunzip() call out
of the YModem session to make those possible error messages visible.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
common/spl/spl_ymodem.c