scripts: fix CAMEO tag generator
authorSander Vanheule <sander@svanheule.net>
Tue, 5 Jul 2022 08:16:08 +0000 (10:16 +0200)
committerSander Vanheule <sander@svanheule.net>
Tue, 5 Jul 2022 08:18:06 +0000 (10:18 +0200)
What should have been only cosmetic changes, ended up in breaking the
script. Rename UIMAGE_CRC_SLICE back to (the original) UIMAGE_CRC_OFF.

Fixes issue #10204 "cameo-tag.py broken"

Reported-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Fixes: f9e840b65700 ("scripts: add CAMEO tag generator")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
scripts/cameo-tag.py

index 643dd387e83f5a304657af857094acfa7b421276..becd69f8e7ed51553ccd1264930852fdce13bb31 100755 (executable)
@@ -52,7 +52,7 @@ import zlib
 
 READ_UNTIL_EOF = -1
 UIMAGE_HEADER_SIZE = 64
-UIMAGE_CRC_SLICE = 4
+UIMAGE_CRC_OFF = 4
 UIMAGE_CRC_END = 8
 UIMAGE_NAME_OFF = 32
 UIMAGE_NAME_END = 56