[PATCH 3/5] boot: fit: enable FIT image post-processing in SPL
Quentin Schulz
quentin.schulz at cherry.de
Thu May 7 18:17:34 CEST 2026
Hi Francesco,
On 4/28/26 10:24 PM, Francesco Valla wrote:
> Since CONFIG_SPL_FIT_IMAGE_POST_PROCESS is a valid configuration, allow
> it to be used when using the "full" FIT loading logic in SPL.
>
> Signed-off-by: Francesco Valla <francesco at valla.it>
> ---
> boot/image-fit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/boot/image-fit.c b/boot/image-fit.c
> index f3ddee940dbd..347304956a99 100644
> --- a/boot/image-fit.c
> +++ b/boot/image-fit.c
> @@ -2243,7 +2243,7 @@ int fit_image_load(struct bootm_headers *images, ulong addr,
> }
>
> /* perform any post-processing on the image data */
> - if (!tools_build() && IS_ENABLED(CONFIG_FIT_IMAGE_POST_PROCESS))
> + if (!tools_build() && CONFIG_IS_ENABLED(FIT_IMAGE_POST_PROCESS))
I think this can be reduced to
if (CONFIG_IS_ENABLED(FIT_IMAGE_POST_PROCESS))
as tools_build() is true when building for the host (tools), and
CONFIG_IS_ENABLED prepends CONFIG_TOOLS_ when building for the host
(tools) and we don't have a TOOLS_FIT_IMAGE_POST_PROCESS.
Cheers,
Quentin
More information about the U-Boot
mailing list