56#include "libfdt_internal.h"
59fdt_setprop_inplace_namelen_partial (
72 propval = fdt_getprop_namelen_w (
83 if (proplen < (len + idx)) {
84 return -FDT_ERR_NOSPACE;
87 memcpy ((
char *)propval + idx, val, len);
103 propval = fdt_getprop (fdt, nodeoffset, name, &proplen);
108 if (proplen != len) {
109 return -FDT_ERR_NOSPACE;
112 return fdt_setprop_inplace_namelen_partial (
131 for (p = start; (
char *)p < ((
char *)start + len); p++) {
132 *p = cpu_to_fdt32 (FDT_NOP);
146 prop = fdt_get_property_w (fdt, nodeoffset, name, &len);
151 _fdt_nop_region (prop, len +
sizeof (*prop));
157_fdt_node_end_offset (
164 while ((offset >= 0) && (depth >= 0)) {
165 offset = fdt_next_node (fdt, offset, &depth);
179 endoffset = _fdt_node_end_offset (fdt, nodeoffset);
185 fdt_offset_ptr_w (fdt, nodeoffset, 0),
186 endoffset - nodeoffset