cmd: source: update terminal value

According to commit:
(40d08d0 tools: mkimage: support pack empty file for multi image)

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ie370e9137b7441bd75582c95b3f60d76d8945629
This commit is contained in:
Joseph Chen 2020-05-28 19:08:44 +08:00 committed by Jianhong Chen
parent 24f48ac9a8
commit 11a331d232
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ source (ulong addr, const char *fit_uname)
* past the zero-terminated sequence of image lengths to get * past the zero-terminated sequence of image lengths to get
* to the actual image data * to the actual image data
*/ */
while (*data++); while (*data++ != IMAGE_PARAM_INVAL);
break; break;
#endif #endif
#if defined(CONFIG_FIT) #if defined(CONFIG_FIT)