tools: kwboot: Split sending image into header and data stages
authorPali Rohár <pali@kernel.org>
Fri, 24 Sep 2021 21:06:48 +0000 (23:06 +0200)
committerStefan Roese <sr@denx.de>
Fri, 1 Oct 2021 09:07:13 +0000 (11:07 +0200)
commit2ef87f75d16bcdc2a29e7339b8f2c2508985fe12
tree01fcfbd97cc28372efe214104b9f39cf18a20465
parentd5ba8dbd75c1b3f45c341341a1259114d894c45f
tools: kwboot: Split sending image into header and data stages

This change is required to implement other features in kwboot.

Split sending header and data parts of the image into two stages.

Signed-off-by: Pali Rohár <pali@kernel.org>
[ refactored ]
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwbimage.h
tools/kwboot.c