From ae51f41d14f548d494ac41e0d21137c5a4c3f59c Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 30 Oct 2019 14:21:52 +0800 Subject: import the U-Boot code and make it compile --- include/boot_fit.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/boot_fit.h (limited to 'include/boot_fit.h') 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. + */ + +/** + * 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); -- cgit v1.2.3