From 52286bb49266c866d777e87a56ffe33490fc9fdb Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 12 Aug 2013 12:09:23 +0200 Subject: uimage: fix: fill size when no compression is used Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- common/uimage.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common/uimage.c') diff --git a/common/uimage.c b/common/uimage.c index c9283b82d1..7fbef8688e 100644 --- a/common/uimage.c +++ b/common/uimage.c @@ -479,6 +479,7 @@ void *uimage_load_to_buf(struct uimage_handle *handle, int image_no, free(buf); return NULL; } + size = ihd->len; goto out; } -- cgit v1.2.3