00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef __DEVICE_TREE_H__
00015 #define __DEVICE_TREE_H__
00016
00017 void *load_device_tree(const char *filename_path, void *load_addr);
00018
00019 int qemu_devtree_setprop(void *fdt, const char *node_path,
00020 const char *property, uint32_t *val_array, int size);
00021 int qemu_devtree_setprop_cell(void *fdt, const char *node_path,
00022 const char *property, uint32_t val);
00023 int qemu_devtree_setprop_string(void *fdt, const char *node_path,
00024 const char *property, const char *string);
00025
00026 #endif