1#ifndef __FDT_WRAPPER_H__
2#define __FDT_WRAPPER_H__
9#define __packed __attribute__((__packed__))
13#define __aligned(x) __attribute__((__aligned__(x)))
17#define SCRATCHPAD 1024
18#define CMD_FDT_MAX_DUMP 64
29int fdt_print(
unsigned char *working_fdt,
const char *pathp,
char *prop,
int depth);
40int fdt_parse_prop(
char const **newval,
int count,
char *data,
int *len);
char name[ANDR_BOOT_NAME_SIZE]
Definition bimage.c:76
int fdt_parse_prop(char const **newval, int count, char *data, int *len)
Parse the property values in the data buffer and return the new value pointers and lengths.
Definition fdt_wrapper.c:29
int fdt_increase_size(void *fdt, int add_len)
Increase the size of the flattened device tree by adding additional length.
Definition fdt_wrapper.c:300
int fdt_find_or_add_subnode(void *fdt, int parentoffset, const char *name)
Definition fdt_wrapper.c:307
int fdt_print(unsigned char *working_fdt, const char *pathp, char *prop, int depth)
Print the contents of the device tree at the specified path with a given property and depth.
Definition fdt_wrapper.c:195
int fdt_overlay_apply_verbose(void *fdt, void *fdto)
fdt_overlay_apply_verbose - Apply an overlay with verbose error reporting
Definition fdt_wrapper.c:321