nb/intel/i440bx: Move to RELOCATABLE_RAMSTAGE
[coreboot.git] / util / cbfstool / fdt.h
blob387cd328ed61625afdd57bd3f20378f5ef201476
1 /*
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.
18 struct fdt_header {
19 uint32_t magic;
20 uint32_t totalsize;
21 uint32_t structure_offset;
22 uint32_t strings_offset;
23 uint32_t reserve_map_offset;
25 uint32_t version;
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