commit | 333542fabf8720b881e992a5abca32ef4bcb841a | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Tue Oct 16 13:58:25 2007 +1000 |
committer | Jon Loeliger <jdl@freescale.com> | Tue Oct 16 07:41:37 2007 -0500 |
tree | 98efc3d886cbc5b5c999b40b8c05737d4e740b0c | |
parent | 121acdec91f269b3efb4b5ac45820f0d1a3b37a1 [diff] |
libfdt: Add functions for handling the "compatible" property This patch adds functions for dealing with the compatible property. fdt_node_check_compatible() can be used to determine whether a node is compatible with a given string and fdt_node_offset_by_compatible() locates nodes with a given compatible string. Testcases for these functions are also included. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>