Commit 5168a74
committed
imgtool: Fix tlv type encoded as 8-bit integer
Use "HH" (16+16) format for struct instead of "BBH" (8+8+16) and
remove padding.
TLV types have modified to be 16-bit in image.h (d13318a).
This change was not fully reflected in image creation, dumpinfo
and verify commands.
Signed-off-by: Rustam Ismayilov <rustam.ismayilov@arm.com>
Change-Id: I7780aeae171aea3428335f5448bde45760a760701 parent 1a0f25a commit 5168a74
2 files changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
| 178 | + | |
| 179 | + | |
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
| |||
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
196 | | - | |
197 | | - | |
| 195 | + | |
| 196 | + | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
682 | | - | |
| 682 | + | |
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
| |||
0 commit comments