tools: kwbimage: Factor out add_binary_header_v1
authorMario Six <mario.six@gdsys.cc>
Wed, 11 Jan 2017 15:00:58 +0000 (16:00 +0100)
committerStefan Roese <sr@denx.de>
Wed, 1 Feb 2017 08:04:06 +0000 (09:04 +0100)
commit79066ef8c9d3c56b46e41c290ae0f598a6d1c59f
tree826e9bbeeac296b7fe12005bcb35f0d177247448
parente93cf53f14b5c246fda6739ed4f3f1c4817c2f0c
tools: kwbimage: Factor out add_binary_header_v1

In preparation of adding the creation of secure headers, we factor the
add_binary_header_v1 function out of the image_create_v1 function.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
tools/kwbimage.c