projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
board: atmel: sama5d2_icp: standby disable on CAN transceivers in SPL
[oweals/u-boot.git]
/
tools
/
fit_common.h
diff --git
a/tools/fit_common.h
b/tools/fit_common.h
index b8d8438717fc06992530af7e77c6cae30a12643a..9e09624f64eea18989d3cfc0f5d96f985ee70dbd 100644
(file)
--- a/
tools/fit_common.h
+++ b/
tools/fit_common.h
@@
-1,7
+1,6
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2014
/*
* (C) Copyright 2014
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _FIT_COMMON_H_
*/
#ifndef _FIT_COMMON_H_
@@
-11,6
+10,14
@@
#include "mkimage.h"
#include <image.h>
#include "mkimage.h"
#include <image.h>
+/**
+ * Verify the format of FIT header pointed to by ptr
+ *
+ * @ptr: image header to be verified
+ * @image_size: size of while image
+ * @params: mkimage parameters
+ * @return 0 if OK, -1 on error
+ */
int fit_verify_header(unsigned char *ptr, int image_size,
struct image_tool_params *params);
int fit_verify_header(unsigned char *ptr, int image_size,
struct image_tool_params *params);