summaryrefslogtreecommitdiff
path: root/include/boot_fit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/boot_fit.h')
-rw-r--r--include/boot_fit.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/boot_fit.h b/include/boot_fit.h
new file mode 100644
index 0000000..f75fed6
--- /dev/null
+++ b/include/boot_fit.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2017 Texas Instruments
+ * Written by Franklin Cooper Jr. <fcooper@ti.com>
+ */
+
+/**
+ * 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);