summaryrefslogtreecommitdiffstats
path: root/src/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash.c')
-rw-r--r--src/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash.c b/src/flash.c
index 43c79bb..3ad957f 100644
--- a/src/flash.c
+++ b/src/flash.c
@@ -74,7 +74,7 @@ void check_nolo_order()
check_nolo_order_failed();
}
-void flash_image(const char *filename, const char *piece, const char *version)
+void flash_image(const char *filename, const char *piece, const char *device, const char *hwrevs, const char *version)
{
FILE *fd;
int vlen = 0;
@@ -84,7 +84,7 @@ void flash_image(const char *filename, const char *piece, const char *version)
unsigned long long size, off;
unsigned char bsize[4], tmp;
unsigned char nolofiller[128];
- ushort hash = do_hash_file(filename);
+ ushort hash = do_hash_file(filename, piece);
if (piece == NULL) {
//exit(1);