diff options
author | Naoki Hayama <naoki.hayama@lineo.co.jp> | 2020-10-07 05:21:55 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-22 16:54:52 +0300 |
commit | ad5fb9f2e66e605941f78791f552c6bf6e522a9d (patch) | |
tree | c15c1c92dc44279c3b3305bbfc933d0309b5326b /include/image.h | |
parent | 02d41b01bd78dc863614c2919375f366abdeff40 (diff) | |
download | u-boot-ad5fb9f2e66e605941f78791f552c6bf6e522a9d.tar.xz |
mkimage: Skip adding non-existent IDs to a list
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@lineo.co.jp>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/image.h')
0 files changed, 0 insertions, 0 deletions