scripts: fix CAMEO tag generator

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: f9e840b657 ("scripts: add CAMEO tag generator")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
(cherry picked from commit ebfe66e494)
This commit is contained in:
Sander Vanheule 2022-07-05 10:16:08 +02:00 committed by Luiz Angelo Daros de Luca
parent 87e58a43ea
commit 9081098273
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ import zlib
READ_UNTIL_EOF = -1 READ_UNTIL_EOF = -1
UIMAGE_HEADER_SIZE = 64 UIMAGE_HEADER_SIZE = 64
UIMAGE_CRC_SLICE = 4 UIMAGE_CRC_OFF = 4
UIMAGE_CRC_END = 8 UIMAGE_CRC_END = 8
UIMAGE_NAME_OFF = 32 UIMAGE_NAME_OFF = 32
UIMAGE_NAME_END = 56 UIMAGE_NAME_END = 56