From 11a331d232dea79e25443776ebc3044cbe91d259 Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Thu, 28 May 2020 19:08:44 +0800 Subject: [PATCH] cmd: source: update terminal value According to commit: (40d08d0 tools: mkimage: support pack empty file for multi image) Signed-off-by: Joseph Chen Change-Id: Ie370e9137b7441bd75582c95b3f60d76d8945629 --- cmd/source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/source.c b/cmd/source.c index d724d63eb7..45e9794b2f 100644 --- a/cmd/source.c +++ b/cmd/source.c @@ -84,7 +84,7 @@ source (ulong addr, const char *fit_uname) * past the zero-terminated sequence of image lengths to get * to the actual image data */ - while (*data++); + while (*data++ != IMAGE_PARAM_INVAL); break; #endif #if defined(CONFIG_FIT)