1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2018 Linaro Ltd.
4 * Sam Protsenko <semen.protsenko@linaro.org>
7 #ifndef IMAGE_ANDROID_DT_H
8 #define IMAGE_ANDROID_DT_H
10 #include <linux/types.h>
12 bool android_dt_check_header(ulong hdr_addr
);
13 bool android_dt_get_fdt_by_index(ulong hdr_addr
, u32 index
, ulong
*addr
,
16 #if !defined(CONFIG_XPL_BUILD)
17 void android_dt_print_contents(ulong hdr_addr
);
20 #endif /* IMAGE_ANDROID_DT_H */