libfdt: Add fdt_strerror() function to library

This function moves the fdt_strerror() function, currently found in
the test code into the fdt library proper.  This makes life easier for
any library users who want to provide meaningful error messages.  The
function goes into a module of its own, so that users who don't need
the function won't get a copy of it linked in.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson 2006-12-21 09:57:08 +11:00
parent 209c5e56d2
commit 5b344f9c5a
6 changed files with 67 additions and 44 deletions

1
TODO
View file

@ -1,4 +1,3 @@
- Move fdt_strerror() to core library for convenience
- Find node by linux,phandle property
- Tree traversal functions
- Graft function