[U-Boot] common: image: Remove FIT header update from image post-processing

Tom Rini trini at konsulko.com
Mon Dec 5 00:07:18 CET 2016


On Mon, Nov 21, 2016 at 02:37:09PM -0600, Andrew F. Davis wrote:

> After an image is selected out of a FIT blob for further processing we
> run an optional, platform specific, post-processing function on this
> component. This post-processing may modify the position and size of the
> image, so after post-processing we update the location and size for this
> image in the FIT header. This can cause problems as the position of
> subsequent components in the FIT blob are only referenced by relative
> position to the end of the last component. When we resize or move a
> component the following components position will be calculated
> incorrectly. To fix this, we do not update the FIT header but instead
> only update our local understanding of the image data. This also allows
> us to re-run post-processing steps if needed.
> 
> Signed-off-by: Andrew F. Davis <afd at ti.com>
> Tested-by: Carlos Hernandez <ceh at ti.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Lokesh Vutla <lokeshvutla at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161204/050c4070/attachment.sig>


More information about the U-Boot mailing list