Revision 3601b572 device_tree.c
b/device_tree.c | ||
---|---|---|
191 | 191 |
return qemu_devtree_setprop_cell(fdt, node_path, property, phandle); |
192 | 192 |
} |
193 | 193 |
|
194 |
uint32_t qemu_devtree_alloc_phandle(void *fdt) |
|
195 |
{ |
|
196 |
static int phandle = 0x8000; |
|
197 |
|
|
198 |
return phandle++; |
|
199 |
} |
|
200 |
|
|
194 | 201 |
int qemu_devtree_nop_node(void *fdt, const char *node_path) |
195 | 202 |
{ |
196 | 203 |
int r; |
Also available in: Unified diff