From 2da615cc76315b89695da9a2338b187dd20de78b Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Tue, 6 Sep 2022 00:14:11 +0200 Subject: [PATCH] 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 c51482b3b65..9074a33f67e 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -470,6 +470,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;