From 23d38367ff19d628e0abcc331ac8035eeed3f4b8 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Tue, 6 Sep 2022 00:14:11 +0200 Subject: spl: Speedup SPL FIT loading a bit Don't record loadables into DT. It's useless and slow. Signed-off-by: Ondrej Jirman <megi@xff.cz> --- 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 a35be52965..8d51d51a35 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -476,6 +476,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; -- cgit v1.2.3