]> git.dujemihanovic.xyz Git - u-boot.git/commit
image-host: fix 'unknown error' error message
authorAlexander Kochetkov <al.kochet@gmail.com>
Mon, 16 Sep 2024 08:24:45 +0000 (11:24 +0300)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Oct 2024 20:10:22 +0000 (14:10 -0600)
commit9e81f13dbb41843abb25e6c4b20961f092630f13
tree2f4860d6e5bf47ed4ebf581021a1f1615ba8cc9b
parent7c4e5223cbce11b21848db75092c7c172649c7d4
image-host: fix 'unknown error' error message

Fix error message like this:
Can't add verification data for node 'fdt-1' (<unknown error>)

We get unknown error because we decode error as fdt error
but actually it is system error.

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/image-host.c