]> git.sur5r.net Git - u-boot/commit
common: image: Add support for post-processing of images
authorAndreas Dannenberg <dannenberg@ti.com>
Wed, 27 Jul 2016 17:12:39 +0000 (12:12 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2016 13:22:18 +0000 (09:22 -0400)
commiteba3fbd6a12b1c4a75c24135535075f0d0fb8074
treec6749d26585cd6448d764872fb606bfad99c1c40
parentb25732c22beccb5a2ce3ec4174ea084ba0e176ab
common: image: Add support for post-processing of images

This commit allows injecting a board/platform/device-specific post-
processing function into the FIT image data loading process, which can
include modifying the size and altering the starting source address of
an image data artifact. This might be desired to do things like strip
headers or footers attached to the images before they were packaged into
the FIT, or to perform operations such as decryption or authentication.
Introduce new configuration option CONFIG_FIT_IMAGE_POST_PROCESS to
allow controlling this feature. If enabled, a platform-specific post-
process function must be provided.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Kconfig
common/image-fit.c