manifest: Add `MfgManifestTarget.Size` field
manifest: Add `MfgManifestTarget.Size` field
This field indicates the size of the target binary (either .bin or .img
file). This is useful for splitting an mfgimage into its constituent
parts. Without this change, the only method of doing this is to use a
heuristic: remove all 0xff bytes from the end of each part (this is what
`imgmod mfg split` does). However, this leads to problems if a target
or raw entry happens to contain trailing 0xff bytes.
1 file changed