]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwboot: Avoid code repetition in kwboot_img_patch()
authorMarek Behún <marek.behun@nic.cz>
Fri, 24 Sep 2021 21:07:12 +0000 (23:07 +0200)
committerStefan Roese <sr@denx.de>
Fri, 1 Oct 2021 09:07:13 +0000 (11:07 +0200)
commitfd8cc47c54d220847d8517e130d045a90a450fce
treee68270ea5ba65b6e8f022063fdfc5a42608c645f
parent3b3d0a28003cdf1ff6d0aeaef268ceffd4b75996
tools: kwboot: Avoid code repetition in kwboot_img_patch()

Change kwboot_img_patch() to avoid code repetition of setting errno to
EINVAL.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c