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)
committerYork Sun <york.sun@nxp.com>
Mon, 11 Sep 2017 14:55:36 +0000 (07:55 -0700)
commit5fd13d973613d308663f97b51059ecd9179baf09
treece5e5bab7289886eb16ef06d7503d22fe1117171
parent7264f2928b46c5f5685e39ed607652c8991e47b6
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>
common/spl/spl_fit.c
doc/uImage.FIT/source_file_format.txt