From ce55fe0caebdf9c72f0ce2bc495f1cc1a2acc8bf 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 872df0c0fe8..4fb039f9266 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -485,6 +485,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;