Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Cooper Jr., Franklin | 899aad2 | 2017-06-16 17:25:06 -0500 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Texas Instruments |
| 4 | * Written by Franklin Cooper Jr. <fcooper@ti.com> |
Cooper Jr., Franklin | 899aad2 | 2017-06-16 17:25:06 -0500 | [diff] [blame] | 5 | */ |
| 6 | |
Jean-Jacques Hiblot | f1f8c4d | 2017-09-15 12:57:25 +0200 | [diff] [blame] | 7 | /** |
| 8 | * locate_dtb_in_fit - Find a DTB matching the board in a FIT image |
| 9 | * @fit: pointer to the FIT image |
| 10 | * |
Heinrich Schuchardt | 47b4c02 | 2022-01-19 18:05:50 +0100 | [diff] [blame] | 11 | * Return: a pointer to a matching DTB blob if found, NULL otherwise |
Jean-Jacques Hiblot | f1f8c4d | 2017-09-15 12:57:25 +0200 | [diff] [blame] | 12 | */ |
| 13 | void *locate_dtb_in_fit(const void *fit); |