/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ #ifndef FDT_H #define FDT_H /* * libfdt - Flat Device Tree manipulation * Copyright (C) 2006 David Gibson, IBM Corporation. * Copyright 2012 Kim Phillips, Freescale Semiconductor. */ #ifndef __ASSEMBLY__ struct fdt_header { … }; struct fdt_reserve_entry { … }; struct fdt_node_header { … }; struct fdt_property { … }; #endif /* !__ASSEMBLY */ #define FDT_MAGIC … #define FDT_TAGSIZE … #define FDT_BEGIN_NODE … #define FDT_END_NODE … #define FDT_PROP … #define FDT_NOP … #define FDT_END … #define FDT_V1_SIZE … #define FDT_V2_SIZE … #define FDT_V3_SIZE … #define FDT_V16_SIZE … #define FDT_V17_SIZE … #endif /* FDT_H */