X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fboot_fit.h;h=f75fed66bc2928658712d07341e032ede4c401ab;hb=8c56ea5c1e033f16993e5427300399ef848234bb;hp=b7d2462dd9b49de75db9c928d665bf5ad50e81bc;hpb=92926bc80c5330d7ee71d0e56926264bce9dea3b;p=oweals%2Fu-boot.git diff --git a/include/boot_fit.h b/include/boot_fit.h index b7d2462dd9..f75fed66bc 100644 --- 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. - * - * 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);