commit | 089fc924e99cba7812a6a232435b4965cdac239a | [log] [tgz] |
---|---|---|
author | Naoki Hayama <naoki.hayama@lineo.co.jp> | Wed Oct 07 11:21:55 2020 +0900 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 22 09:54:52 2020 -0400 |
tree | c15c1c92dc44279c3b3305bbfc933d0309b5326b | |
parent | d7e829117603897519b24aaa23c547d2e42d55d2 [diff] |
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>