summaryrefslogtreecommitdiffstats
path: root/bootloader/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/common.c')
-rw-r--r--bootloader/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/common.c b/bootloader/common.c
index 410fd42cd8..1d0ad360be 100644
--- a/bootloader/common.c
+++ b/bootloader/common.c
@@ -154,7 +154,7 @@ int load_firmware(unsigned char* buf, char* firmware, int buffer_size)
if(sum != chksum)
return EBAD_CHKSUM;
- return len;
+ return EOK;
}
/* Load raw binary image. */