On 21 November 2016 at 13:37, Andrew F. Davis <a...@ti.com> 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 <a...@ti.com> > Tested-by: Carlos Hernandez <c...@ti.com> > --- > common/image-fit.c | 29 ++++++----------------------- > 1 file changed, 6 insertions(+), 23 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot