Marek Vasut 410d9b6446 fdt: Fix uncompress_blob() for U-Boot proper
When U-Boot proper is compiled with CONFIG_MULTI_DTB_FIT and tries
to call uncompress_blob(), it fails with -ENOTSUPP. This is because
the full implementation of this function which includes compression
is available only in SPL. In U-Boot proper or if the compression is
not enabled, the blob is not compressed and thus can be passed to
locate_dtb_in_fit() in fdtdec_setup() without any changes. Pass the
blob without any changes if compression is not enabled instead of
failing.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2018-11-20 19:14:22 -07:00
..
2018-08-13 14:03:57 -04:00
2011-01-18 23:38:08 +01:00
2017-04-13 09:41:10 -04:00
2010-09-19 19:29:47 +02:00
2018-06-13 07:49:12 -04:00
2018-11-14 09:16:27 -08:00
2018-10-09 04:40:27 -06:00
2012-04-29 14:14:08 +02:00
2018-09-05 16:02:34 -04:00
2018-08-10 13:45:34 -04:00
2017-06-01 07:03:12 -06:00
2018-10-09 04:40:27 -06:00