X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Fimagetool.h;h=63c08ebc09c3596a80378a341eb7716e01a5ba55;hb=795f452eeff157b994a783d78d00e0108463b993;hp=a8d505423b87ba0450f775a507e12d58d728cca3;hpb=2c45f8040ea1152d2ff0960f96905ca42ac089cd;p=u-boot diff --git a/tools/imagetool.h b/tools/imagetool.h index a8d505423b..63c08ebc09 100644 --- a/tools/imagetool.h +++ b/tools/imagetool.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2013 * * Written by Guilherme Maciel Ferreira - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _IMAGETOOL_H_ @@ -12,6 +11,7 @@ #include "os_support.h" #include #include +#include #include #include #include @@ -216,12 +216,12 @@ int imagetool_get_filesize(struct image_tool_params *params, const char *fname); * an error message if SOURCE_DATE_EPOCH contains an invalid value and returns * 0. * - * @params: mkimage parameters + * @cmdname: command name * @fallback: timestamp to use if SOURCE_DATE_EPOCH isn't set * @return timestamp based on SOURCE_DATE_EPOCH */ time_t imagetool_get_source_date( - struct image_tool_params *params, + const char *cmdname, time_t fallback); /* @@ -231,6 +231,7 @@ time_t imagetool_get_source_date( void pbl_load_uboot(int fd, struct image_tool_params *mparams); +int zynqmpbif_copy_image(int fd, struct image_tool_params *mparams); #define ___cat(a, b) a ## b #define __cat(a, b) ___cat(a, b)