[U-Boot] [PATCH v3 03/54] mkimage: Display a better list of available image types

Simon Glass sjg at chromium.org
Sat Jul 18 01:56:08 CEST 2015


On 23 June 2015 at 15:38, Simon Glass <sjg at chromium.org> wrote:
> Offer to display the available image types in help. Also, rather than
> hacking the genimg_get_type_id() function to display a list of types,
> do this in the tool. Also, sort the list.
>
> The list of image types is quite long, and hard to discover. Print it out
> when we show help information.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Use case-insensitve compare for image params (fixes build break with m53evk)
>
> Changes in v2: None
>
>  common/image.c  | 58 +++++++++++++++++++++++++++++++-------------------------
>  include/image.h | 11 +++++++++++
>  tools/mkimage.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++-------
>  3 files changed, 95 insertions(+), 33 deletions(-)

Applied to u-boot-dm.

(If people have time to test this out it would be great!)


More information about the U-Boot mailing list