lib: fdt: Allow enabling both LZO and GZIP DT compression
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 13 Mar 2019 20:11:22 +0000 (21:11 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 9 Apr 2019 16:19:10 +0000 (18:19 +0200)
commit1fd303543aef9c4641bd578e6e52284f5a69df67
tree7414df865084303c36cd9e4451b0b963b449eb12
parent4fa8375ffec5bd1c7edabde42b8ee0339072df38
lib: fdt: Allow enabling both LZO and GZIP DT compression

Allow enabling both LZO and GZIP DT compression in SPL and fix a
bug where if the GZIP decompression failed, the LZO decompression
would not even be attempted.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
lib/fdtdec.c