mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
mkimage: Add -k option to specify key directory
Keys required for signing images will be in a specific directory. Add a -k option to specify that directory. Also update the mkimage man page with this information and a clearer list of available commands. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de> (v1)
This commit is contained in:
@ -137,7 +137,7 @@ static int fit_handle_file (struct mkimage_params *params)
|
||||
goto err_mmap;
|
||||
|
||||
/* set hashes for images in the blob */
|
||||
if (fit_add_verification_data(NULL, NULL, ptr, NULL, 0)) {
|
||||
if (fit_add_verification_data(params->keydir, NULL, ptr, NULL, 0)) {
|
||||
fprintf (stderr, "%s Can't add hashes to FIT blob",
|
||||
params->cmdname);
|
||||
goto err_add_hashes;
|
||||
|
Reference in New Issue
Block a user