[PATCH 1/1] mkimage: do not write incorrect error message

Simon Glass sjg at chromium.org
Tue Oct 24 20:03:34 CEST 2023


On Tue, 24 Oct 2023 at 00:19, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> When running 'mkimage -l' is called for a valid StarFive file an error
> message "Error: invalid marker bytes" is written by the Renesas SPKG
> driver.
>
> mkimage -l may be invoked without specifying an image type. In this case
> mkimage iterates over all image type drivers to find the one that matches.
> None of the non-matching drivers should write an error message.
>
> Fix the Renesas SPKG driver.
>
> Fixes: afdfcb11f97c ("tools: spkgimage: add Renesas SPKG format")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  tools/renesas_spkgimage.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list