#include "libfdt_env.h"
#include <fdt.h>
#include <libfdt.h>
#include "libfdt_internal.h"
static int fdt_blocks_misordered_(const void *fdt,
int mem_rsv_size, int struct_size)
{ … }
static int fdt_rw_probe_(void *fdt)
{ … }
#define FDT_RW_PROBE(fdt) …
static inline unsigned int fdt_data_size_(void *fdt)
{ … }
static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen)
{ … }
static int fdt_splice_mem_rsv_(void *fdt, struct fdt_reserve_entry *p,
int oldn, int newn)
{ … }
static int fdt_splice_struct_(void *fdt, void *p,
int oldlen, int newlen)
{ … }
static void fdt_del_last_string_(void *fdt, const char *s)
{ … }
static int fdt_splice_string_(void *fdt, int newlen)
{ … }
static int fdt_find_add_string_(void *fdt, const char *s, int *allocated)
{ … }
int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size)
{ … }
int fdt_del_mem_rsv(void *fdt, int n)
{ … }
static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name,
int len, struct fdt_property **prop)
{ … }
static int fdt_add_property_(void *fdt, int nodeoffset, const char *name,
int len, struct fdt_property **prop)
{ … }
int fdt_set_name(void *fdt, int nodeoffset, const char *name)
{ … }
int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name,
int len, void **prop_data)
{ … }
int fdt_setprop(void *fdt, int nodeoffset, const char *name,
const void *val, int len)
{ … }
int fdt_appendprop(void *fdt, int nodeoffset, const char *name,
const void *val, int len)
{ … }
int fdt_delprop(void *fdt, int nodeoffset, const char *name)
{ … }
int fdt_add_subnode_namelen(void *fdt, int parentoffset,
const char *name, int namelen)
{ … }
int fdt_add_subnode(void *fdt, int parentoffset, const char *name)
{ … }
int fdt_del_node(void *fdt, int nodeoffset)
{ … }
static void fdt_packblocks_(const char *old, char *new,
int mem_rsv_size,
int struct_size,
int strings_size)
{ … }
int fdt_open_into(const void *fdt, void *buf, int bufsize)
{ … }
int fdt_pack(void *fdt)
{ … }