From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 21 Jun 2018 13:45:35 -0600 Subject: [U-Boot] [PATCH 1/2] mkimage: Refactor imagetool_get_source_date to take command name In-Reply-To: <20180620201052.15428-1-alex.kiernan@gmail.com> References: <20180620201052.15428-1-alex.kiernan@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 20 June 2018 at 14:10, Alex Kiernan wrote: > 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 > --- > > tools/default_image.c | 2 +- > tools/fit_image.c | 3 ++- > tools/imagetool.c | 4 ++-- > tools/imagetool.h | 4 ++-- > 4 files changed, 7 insertions(+), 6 deletions(-) Reviewed-by: Simon Glass