libfdt: Add fdt_get_path() function

This patch adds an fdt_get_path() function to libfdt, which returns
the full path of a given node in a caller supplied buffer.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson 2007-08-30 14:54:04 +10:00 committed by Jon Loeliger
parent 9d26eabdc6
commit 037db263e0
5 changed files with 161 additions and 1 deletions

View file

@ -34,6 +34,7 @@ tree1_tests () {
run_test path_offset $TREE
run_test get_name $TREE
run_test getprop $TREE
run_test get_path $TREE
run_test notfound $TREE
# Write-in-place tests