[PATCH 2/3] mkimage: Skip adding non-existent IDs to a list

Simon Glass sjg at chromium.org
Mon Oct 12 05:34:50 CEST 2020


On Tue, 6 Oct 2020 at 20:22, Naoki Hayama <naoki.hayama at lineo.co.jp> wrote:
>
> In show_valid_options(), this patch introduces checking whether
> a category has an entry ID. If not, adding it to a list for output
> is skipped before calling qsort().
> This patch will affect all kinds of image header categories
> (-A, -C, -O and -T flags).
>
> Signed-off-by: Naoki Hayama <naoki.hayama at lineo.co.jp>
> ---
>
>  tools/mkimage.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)

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


More information about the U-Boot mailing list