|
| static int | fdt_sw_probe_ (void *fdt) |
| |
| static int | fdt_sw_probe_memrsv_ (void *fdt) |
| |
| static int | fdt_sw_probe_struct_ (void *fdt) |
| |
| static uint32_t | sw_flags (void *fdt) |
| |
| static void * | fdt_grab_space_ (void *fdt, size_t len) |
| |
| int | fdt_create_with_flags (void *buf, int bufsize, uint32_t flags) |
| | fdt_create_with_flags - begin creation of a new fdt @buf: pointer to memory allocated where fdt will be created @bufsize: size of the memory space at fdt @flags: a valid combination of FDT_CREATE_FLAG_ flags, or 0.
|
| |
| int | fdt_create (void *buf, int bufsize) |
| | fdt_create - begin creation of a new fdt @buf: pointer to memory allocated where fdt will be created @bufsize: size of the memory space at fdt
|
| |
| int | fdt_resize (void *fdt, void *buf, int bufsize) |
| |
| int | fdt_add_reservemap_entry (void *fdt, uint64_t addr, uint64_t size) |
| |
| int | fdt_finish_reservemap (void *fdt) |
| |
| int | fdt_begin_node (void *fdt, const char *name) |
| |
| int | fdt_end_node (void *fdt) |
| |
| static int | fdt_add_string_ (void *fdt, const char *s) |
| |
| static void | fdt_del_last_string_ (void *fdt, const char *s) |
| |
| static int | fdt_find_add_string_ (void *fdt, const char *s, int *allocated) |
| |
| int | fdt_property_placeholder (void *fdt, const char *name, int len, void **valp) |
| |
| int | fdt_property (void *fdt, const char *name, const void *val, int len) |
| |
| int | fdt_finish (void *fdt) |
| |
| int fdt_create_with_flags |
( |
void * |
buf, |
|
|
int |
bufsize, |
|
|
uint32_t |
flags |
|
) |
| |
fdt_create_with_flags - begin creation of a new fdt @buf: pointer to memory allocated where fdt will be created @bufsize: size of the memory space at fdt @flags: a valid combination of FDT_CREATE_FLAG_ flags, or 0.
fdt_create_with_flags() begins the process of creating a new fdt with the sequential write interface.
fdt creation process must end with fdt_finished() to produce a valid fdt.
returns: 0, on success -FDT_ERR_NOSPACE, bufsize is insufficient for a minimal fdt -FDT_ERR_BADFLAGS, flags is not valid