aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2018-10-18 20:37:05 +0200
committerSimon Glass <sjg@chromium.org>2018-11-20 19:14:22 -0700
commit410d9b644639799259cddba9cbff96c2db038a6b (patch)
tree1f5446ea9787b86c08d47ec07f9cea39cfb19f69 /cmd
parent5197dafc42eb926525a12fc5aa38d2a05f22d177 (diff)
downloadu-boot-410d9b644639799259cddba9cbff96c2db038a6b.zip
u-boot-410d9b644639799259cddba9cbff96c2db038a6b.tar.gz
u-boot-410d9b644639799259cddba9cbff96c2db038a6b.tar.bz2
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>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions