projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usb: kbd: Properly translate up/down arrow keys
[oweals/u-boot.git]
/
include
/
boot_fit.h
diff --git
a/include/boot_fit.h
b/include/boot_fit.h
index b7d2462dd9b49de75db9c928d665bf5ad50e81bc..f75fed66bc2928658712d07341e032ede4c401ab 100644
(file)
--- a/
include/boot_fit.h
+++ b/
include/boot_fit.h
@@
-1,9
+1,13
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2017 Texas Instruments
* Written by Franklin Cooper Jr. <fcooper@ti.com>
/*
* Copyright (C) 2017 Texas Instruments
* Written by Franklin Cooper Jr. <fcooper@ti.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
*/
-int fdt_offset(void *fit);
-void *locate_dtb_in_fit(void *fit);
+/**
+ * locate_dtb_in_fit - Find a DTB matching the board in a FIT image
+ * @fit: pointer to the FIT image
+ *
+ * @return a pointer to a matching DTB blob if found, NULL otherwise
+ */
+void *locate_dtb_in_fit(const void *fit);