2 * Copyright 2013 Google Inc.
3 * Copyright 2018-present Facebook, Inc.
5 * Taken from depthcharge: src/base/device_tree.h
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but without any warranty; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
21 uint32_t structure_offset
;
22 uint32_t strings_offset
;
23 uint32_t reserve_map_offset
;
26 uint32_t last_compatible_version
;
28 uint32_t boot_cpuid_phys
;
30 uint32_t strings_size
;
31 uint32_t structure_size
;
34 #define FDT_HEADER_MAGIC 0xd00dfeed