platform_external_dtc/libfdt
David Gibson 592ea5888c dtc: Assume properties preced subnodes in the flattened tree
With kernel commit eff2ebd207af9f501af0ef667a7d14befcb36c1b, we
clarified that in the flattened tree format, a particular nodes
properties are required to precede its subdnodes.

At present however, both dtc and libfdt will process trees which don't
meet this condition.  This patch simplifies the code for
fdt_get_property() based on assuming that constraint.  dtc continues
to be able to handle such an invalid tree - on the grounds that it's
useful for dtc to be able to correct such a broken tree - but this
patch adds a warning when this condition is not met while reading a
flattened tree.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-09-05 13:17:14 -05:00
..
fdt.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt.h Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_ro.c dtc: Assume properties preced subnodes in the flattened tree 2007-09-05 13:17:14 -05:00
fdt_rw.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_strerror.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_sw.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_wip.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
libfdt.h libfdt: Add fdt_parent_offset() and supporting functions 2007-08-30 08:43:12 -05:00
libfdt_env.h Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
libfdt_internal.h Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
Makefile.libfdt dtc: Improve the make install target 2007-07-25 10:26:36 -05:00
TODO Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00