]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spl: fit: add support for post-processing of images
authorDaniel Allred <d-allred@ti.com>
Mon, 27 Jun 2016 14:19:21 +0000 (09:19 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:21 +0000 (18:22 -0400)
commitda74d1f341e46ecc0ae893b4aa3b771ce9dba9f3
treee9ca2d8caaa004feae5120c53540e9bf3afe7ee1
parentbf9ec864f4f5f52afecfdcea1d258ee4072bdd01
spl: fit: add support for post-processing of images

The next stage boot loader image and the selected FDT can be post-
processed by board/platform/device-specific code, which can include
modifying the size and altering the starting source address before
copying these binary blobs to their final destination. 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_SPL_FIT_IMAGE_POST_PROCESS to allow controlling this
feature. If enabled, a platform-specific post-process function must
be provided.

Signed-off-by: Daniel Allred <d-allred@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Kconfig
common/spl/spl_fit.c
include/image.h