From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 4 Dec 2016 18:07:18 -0500 Subject: [U-Boot] common: image: Remove FIT header update from image post-processing In-Reply-To: <20161121203709.2537-1-afd@ti.com> References: <20161121203709.2537-1-afd@ti.com> Message-ID: <20161204230718.GU4248@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Tested-by: Carlos Hernandez > Reviewed-by: Simon Glass > Reviewed-by: Lokesh Vutla 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: