mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-09 05:05:20 -05:00
libfdt: Add fdt_node_offset_by_prop_value()
This patch adds a function to libfdt to locate nodes containing a property with a specific value. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
592ea5888c
commit
ae1454b311
5 changed files with 167 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ tree1_tests () {
|
|||
run_test get_path $TREE
|
||||
run_test supernode_atdepth_offset $TREE
|
||||
run_test parent_offset $TREE
|
||||
run_test node_offset_by_prop_value $TREE
|
||||
run_test notfound $TREE
|
||||
|
||||
# Write-in-place tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue