commit | fc9769ac2bae8a32d5d277007d22414c4516b02b | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Tue Feb 12 11:58:31 2008 +1100 |
committer | Jon Loeliger <jdl@freescale.com> | Tue Feb 12 09:11:40 2008 -0600 |
tree | f59054c75a9397d6c2bd96653ac9a417e0d27e1f | |
parent | 202863e4dd681d17c06a82943f49485bf7860633 [diff] |
libfdt: Add and use a node iteration helper function. This patch adds an fdt_next_node() function which can be used to iterate through nodes of the tree while keeping track of depth. This function is used to simplify the iteration code in a lot of other functions, and is also exported for use by library users. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>