]> git.baikalelectronics.ru Git - uboot.git/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)
commit1da4ae9725f43e91e08491dc3bd852b49eea7e1e
treeed865fbf644bf7f167c6227d19430e584f17156e
parent027bd75e35ea94c56bcac57027d3433e48298bb2
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