diff options
Diffstat (limited to 'boot/image.c')
-rw-r--r-- | boot/image.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/boot/image.c b/boot/image.c index 073931cd7a3..fc774d605d1 100644 --- a/boot/image.c +++ b/boot/image.c @@ -7,7 +7,6 @@ */ #ifndef USE_HOSTCC -#include <common.h> #include <env.h> #include <display_options.h> #include <init.h> @@ -26,8 +25,6 @@ #endif #include <asm/global_data.h> -#include <u-boot/md5.h> -#include <u-boot/sha1.h> #include <linux/errno.h> #include <asm/io.h> @@ -531,10 +528,10 @@ int image_decomp(int comp, ulong load, ulong image_start, int type, printf("Unimplemented compression type %d\n", comp); return ret; } - if (ret) - return ret; *load_end = load + image_len; + if (ret) + return ret; return 0; } |