acpi: Add IORT helper functions
[coreboot2.git] / util / cbfstool / fdt.h
blob0af48abba24e05558870d138ec07b778698de917
1 /* Taken from depthcharge: src/base/device_tree.h */
2 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 struct fdt_header {
5 uint32_t magic;
6 uint32_t totalsize;
7 uint32_t structure_offset;
8 uint32_t strings_offset;
9 uint32_t reserve_map_offset;
11 uint32_t version;
12 uint32_t last_compatible_version;
14 uint32_t boot_cpuid_phys;
16 uint32_t strings_size;
17 uint32_t structure_size;
20 #define FDT_HEADER_MAGIC 0xd00dfeed