[[PATCH] tools: image-host: fix wrong return value

Tom Rini trini at konsulko.com
Thu Jul 15 03:27:44 CEST 2021


On Mon, May 31, 2021 at 09:04:51AM +0200, liu.ming50 at gmail.com wrote:

> From: Ming Liu <liu.ming50 at gmail.com>
> 
> The return value '-ENOSPC' of fit_set_timestamp function does not match
> the caller fit_image_write_sig's expection which is '-FDT_ERR_NOSPACE'.
> 
> Fix it by not calling fit_set_timestamp, but call fdt_setprop instead.
> 
> This fixes a following mkimage error:
> | Can't write signature for 'signature at 1' signature node in
> | 'conf at imx6ull-colibri-wifi-eval-v3.dtb' conf node: <unknown error>
> | mkimage Can't add hashes to FIT blob: -1
> 
> Signed-off-by: Ming Liu <liu.ming50 at gmail.com>
> Tested-by: Igor Opaniuk <igor.opaniuk at foundries.io>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210714/7edfb066/attachment.sig>


More information about the U-Boot mailing list