diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-10-24 11:06:09 +1000 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-10-24 09:56:27 -0500 |
commit | 3c44c87bdeacc66f46c55090d765a9766475ee50 (patch) | |
tree | 0a401eaee6b18e56189ade26961b34a754b6f7ff /dtc.c | |
parent | 96b5fad3a12697b8f2a50dbca944bd44c6f4eec8 (diff) | |
download | dtc-3c44c87bdeacc66f46c55090d765a9766475ee50.zip dtc-3c44c87bdeacc66f46c55090d765a9766475ee50.tar.gz dtc-3c44c87bdeacc66f46c55090d765a9766475ee50.tar.bz2 |
libfdt: Rename and publish _fdt_next_tag()
Although it's a low-level function that shouldn't normally be needed,
there are circumstances where it's useful for users of libfdt to use
the _fdt_next_tag() function. Therefore, this patch renames it to
fdt_next_tag() and publishes it in libfdt.h.
In addition, this patch adds a new testcase using fdt_next_tag(),
dtbs_equal_ordered. This testcase tests for structural equality of
two dtbs, including the order of properties and subnodes, but ignoring
NOP tags, the order of the dtb sections and the layout of strings in
the strings block. This will be useful for testing other dtc
functionality in the future.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.c')
0 files changed, 0 insertions, 0 deletions