41 #define FDT_MAGIC 0xd00dfeed 44 #define FDT_VERSION 16 50 #define FDT_BEGIN_NODE 0x00000001 53 #define FDT_END_NODE 0x00000002 56 #define FDT_PROP 0x00000003 67 #define FDT_NOP 0x00000004 70 #define FDT_END 0x00000009 73 #define FDT_STRUCTURE_ALIGN ( sizeof ( fdt_token_t ) ) int fdt_mac(unsigned int offset, struct net_device *netdev)
Get MAC address from property.
size_t len
Length of tree.
struct golan_inbox_hdr hdr
Message header.
int fdt_u64(unsigned int offset, const char *name, uint64_t *value)
Find integer property.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
unsigned long long uint64_t
const struct fdt_header * hdr
Tree header.
size_t strings_len
Length of strings block.
uint32_t fdt_token_t
Device tree token.
int fdt_alias(const char *name, unsigned int *offset)
Find node by alias.
pseudo_bit_t value[0x00020]
static struct net_device * netdev
unsigned int structure
Offset to structure block.
int fdt_path(const char *path, unsigned int *offset)
Find node by path.
size_t structure_len
Length of structure block.
uint32_t name_off
Name offset.
const char * fdt_string(unsigned int offset, const char *name)
Find string property.
const void * raw
Raw data.
int register_fdt(const struct fdt_header *hdr)
Register device tree.
uint16_t offset
Offset to command line.
unsigned int strings
Offset to strings block.