mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
There is a need to be able to specify some options when building an FDT with the SW interface. This can be accomplished with minimal changes by storing intermediate data in the fdt header itself, in fields that are not otherwise needed during the creation process and can be set by fdt_finish(). The fdt.magic field is already used exactly this way, as a state to check with callers that the FDT has been created but not yet finished. fdt.version and fdt.last_comp_version are used to make room for more intermediate state. These are adjacent and unused during the building process. last_comp_version is not yet used for intermediate state, but it is zeroed and treated as used, so as to allow future growth easily. A new interface, fdt_create_with_flags() is added, which takes 32-bit flag value to control creation. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Message-Id: <20190509094122.834-3-npiggin@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
80 lines
1.6 KiB
Text
80 lines
1.6 KiB
Text
LIBFDT_1.2 {
|
|
global:
|
|
fdt_next_node;
|
|
fdt_check_header;
|
|
fdt_move;
|
|
fdt_string;
|
|
fdt_num_mem_rsv;
|
|
fdt_get_mem_rsv;
|
|
fdt_subnode_offset_namelen;
|
|
fdt_subnode_offset;
|
|
fdt_path_offset_namelen;
|
|
fdt_path_offset;
|
|
fdt_get_name;
|
|
fdt_get_property_namelen;
|
|
fdt_get_property;
|
|
fdt_getprop_namelen;
|
|
fdt_getprop;
|
|
fdt_get_phandle;
|
|
fdt_get_alias_namelen;
|
|
fdt_get_alias;
|
|
fdt_get_path;
|
|
fdt_supernode_atdepth_offset;
|
|
fdt_node_depth;
|
|
fdt_parent_offset;
|
|
fdt_node_offset_by_prop_value;
|
|
fdt_node_offset_by_phandle;
|
|
fdt_node_check_compatible;
|
|
fdt_node_offset_by_compatible;
|
|
fdt_setprop_inplace;
|
|
fdt_nop_property;
|
|
fdt_nop_node;
|
|
fdt_create;
|
|
fdt_add_reservemap_entry;
|
|
fdt_finish_reservemap;
|
|
fdt_begin_node;
|
|
fdt_property;
|
|
fdt_end_node;
|
|
fdt_finish;
|
|
fdt_open_into;
|
|
fdt_pack;
|
|
fdt_add_mem_rsv;
|
|
fdt_del_mem_rsv;
|
|
fdt_set_name;
|
|
fdt_setprop;
|
|
fdt_delprop;
|
|
fdt_add_subnode_namelen;
|
|
fdt_add_subnode;
|
|
fdt_del_node;
|
|
fdt_strerror;
|
|
fdt_offset_ptr;
|
|
fdt_next_tag;
|
|
fdt_appendprop;
|
|
fdt_create_empty_tree;
|
|
fdt_first_property_offset;
|
|
fdt_get_property_by_offset;
|
|
fdt_getprop_by_offset;
|
|
fdt_next_property_offset;
|
|
fdt_first_subnode;
|
|
fdt_next_subnode;
|
|
fdt_address_cells;
|
|
fdt_size_cells;
|
|
fdt_stringlist_contains;
|
|
fdt_stringlist_count;
|
|
fdt_stringlist_search;
|
|
fdt_stringlist_get;
|
|
fdt_resize;
|
|
fdt_overlay_apply;
|
|
fdt_get_string;
|
|
fdt_find_max_phandle;
|
|
fdt_generate_phandle;
|
|
fdt_check_full;
|
|
fdt_setprop_placeholder;
|
|
fdt_property_placeholder;
|
|
fdt_header_size_;
|
|
fdt_appendprop_addrrange;
|
|
fdt_setprop_inplace_namelen_partial;
|
|
fdt_create_with_flags;
|
|
local:
|
|
*;
|
|
};
|