]> git.sur5r.net Git - u-boot/commit
mkimage: Refactor imagetool_get_source_date to take command name
authorAlex Kiernan <alex.kiernan@gmail.com>
Wed, 20 Jun 2018 20:10:51 +0000 (20:10 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 10 Jul 2018 20:56:00 +0000 (16:56 -0400)
commit87925df2b3f8d308addc5c0fe5a22ae9712ca5ec
treeed865fbf644bf7f167c6227d19430e584f17156e
parent67a2616af18bbb38905b90ed1c6b66659671e1da
mkimage: Refactor imagetool_get_source_date to take command name

So we can use imagetool_get_source_date() from callers who do not have
the image tool params struct, just pass in the command name for the error
message.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Simon Glass <sjg@chromum.org>
tools/default_image.c
tools/fit_image.c
tools/imagetool.c
tools/imagetool.h