armbian-build/patch/u-boot/u-boot-rk35xx/general-fix-source-command.patch
2021-09-15 22:08:39 +02:00

14 lines
376 B
Diff

diff --git a/cmd/source.c b/cmd/source.c
index 45e9794..d724d63 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++ != IMAGE_PARAM_INVAL);
+ while (*data++);
break;
#endif
#if defined(CONFIG_FIT)