Commit graph

7 commits

Author SHA1 Message Date
David Gibson
41722c230c libfdt: Fix logic in nop_property testcase
This patch fixes some completely bogus error checking logic from the
nop_property testcase (resulted from a cut-and-paste error).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2006-12-01 13:10:07 +11:00
David Gibson
65380f164c Add a copy of the GPL
Since the file preamples say it's there, we really should include it.
2006-11-29 16:49:27 +11:00
David Gibson
063693a9e4 libfdt: Sequential write support
This patch adds code to libfdt to create flat trees from scratch, writing
sequentially.
2006-11-29 16:45:46 +11:00
David Gibson
3aa4cfd66b Simplify string table access functions
The range sanity checking on the fdt_string_cmp() function causes problems
for the sequential write code (or at least for using RO functions on an
incomplete SW tree).  Plus they didn't really fit with the philosphy for
the RO code of working as widely as possible on weirdly constructed trees.
2006-11-29 16:34:30 +11:00
David Gibson
156649d4f6 Fix building of dumptrees
Without this rather odd constrained pattern rule, make attempts to build
dumptrees using the default %: %.c rule instead of the defined %: %.o and
%.o: %.c rules.
2006-11-29 13:34:22 +11:00
David Gibson
4e6221c171 Have tests read example tree from a generated file, rather than link it in.
This makes the tests more flexible to re-use for testing the output from
the write tests.
2006-11-28 17:20:01 +11:00
David Gibson
3da0f9a10d libfdt - library for manipulating device trees in flattened format
Initial revision, read-only and "in-place" (no memmove() required)
write operations only.
2006-11-27 16:21:28 +11:00