spl: fit: Support both external and embedded data
authorYork Sun <york.sun@nxp.com>
Tue, 15 Aug 2017 18:14:44 +0000 (11:14 -0700)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:23 +0000 (02:37 +0800)
commit6cde057054c50ee0936f860b0e223c3150efba90
tree0b7b2fccdfe0c9a55a5bd8e1e18742acfc6c3e47
parent286be3fcd96286c88d437f3ba3d30d518264faa3
spl: fit: Support both external and embedded data

SPL supports U-Boot image in FIT format which has data outside of
FIT structure. This adds support for embedded data for normal FIT
images.

Signed-off-by: York Sun <york.sun@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 5fd13d973613d308663f97b51059ecd9179baf09)
common/spl/spl_fit.c
doc/uImage.FIT/source_file_format.txt