Skip to content
Commit 97f17fa6 authored by Martin Kaiser's avatar Martin Kaiser Committed by Stefano Babic
Browse files

tools: imximage: refactor header length calculations for imximage v1



We can use the same header length calculations for both imximage v1 and
v2. This addresses TODO comments about imximage v1 in the current code.

With this patch applied, *header_size_ptr in imximage_set_header() will
have the correct value for both imximage v1 and v2. This is necessary
for people wanting to add proprietary data behind the created imximage.

Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Cc: sbabic@denx.de
parent cf4128e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment