From 2dc07372a238c66f705f4bf091fc7364da5a3bc0 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Tue, 6 Sep 2022 00:14:11 +0200 Subject: [PATCH] [HACK] spl: Speedup SPL FIT loading a bit Don't record loadables into DT. It's useless and slow. Signed-off-by: Ondrej Jirman --- common/spl/spl_fit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 730639f7562..2d841c4a3f5 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -466,6 +466,8 @@ static int spl_fit_record_loadable(const struct spl_fit_info *ctx, int index, const char *name; int node; + return 0; + if (CONFIG_IS_ENABLED(FIT_IMAGE_TINY)) return 0;