commit | 2a9d2d97d370e3fe959312762c3190e6a6ae9e11 | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Wed Dec 12 08:23:05 2007 +1100 |
committer | Paul Mackerras <paulus@samba.org> | Thu Dec 20 16:11:46 2007 +1100 |
tree | 0a8fefe663f64e68b26a4a22c54b6e9fc2401194 | |
parent | 754e5f3f3a96264b96d5593242d81c7468af70cb [diff] |
[POWERPC] wrapper: Treat NULL as root node in devp_offset; add devp_offset_find() Many operations, as currently used in the wrapper, assume they can pass NULL and have it be treated as the root node. However, libfdt-wrapper converts NULL to -1, which is only appropriate when searching for nodes, and will cause an error otherwise. Signed-off-by: Scott Wood <scottwood@freescale.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>