]> git.baikalelectronics.ru Git - uboot.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)
commit1b0fec9cf7f800891d6e014af9c60f0d0720c3e1
treec16ed73ada606c02702618a9f616b6348fa4152e
parented80d095a4aa850b39b3103b1a8554415ef57d53
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