diff options
author | Martin Kaiser <martin@kaiser.cx> | 2017-01-02 22:24:17 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-01-27 10:27:32 +0100 |
commit | 97f17fa6278747d059fccb8eef7f79ec3dfc9502 (patch) | |
tree | 36a84caece2a456c8031a7aa36f35731b4de1d80 /include | |
parent | cf4128e53caa4f7b0a6586fc3f10690d5c05db31 (diff) | |
download | u-boot-imx-97f17fa6278747d059fccb8eef7f79ec3dfc9502.zip u-boot-imx-97f17fa6278747d059fccb8eef7f79ec3dfc9502.tar.gz u-boot-imx-97f17fa6278747d059fccb8eef7f79ec3dfc9502.tar.bz2 |
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: Martin Kaiser <martin@kaiser.cx>
Cc: sbabic@denx.de
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions