libfdt: Add fdt_get_name() to retrieve a node's name

This patch adds a new fdt_get_name() function to libfdt which will
return a node's name string (including unit address, if any).

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 bd2ae2f41c
commit 9d26eabdc6
5 changed files with 112 additions and 1 deletions

View file

@ -32,6 +32,7 @@ tree1_tests () {
run_test find_property $TREE
run_test subnode_offset $TREE
run_test path_offset $TREE
run_test get_name $TREE
run_test getprop $TREE
run_test notfound $TREE