Grant Likely
41bb76e941
libfdt: add convenience function fdt_find_and_setprop()
...
Given the path to a node, fdt_find_and_setprop() allows a property value
to be set directly.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-09-06 09:46:17 -06:00
Wolfgang Denk
be5d72d10d
Minor coding style cleanup. Update CHANGELOG.
...
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-13 21:57:53 +02:00
Gerald Van Baren
06e19a0770
For fdt_find_node_by_path(), handle the root path properly.
...
Also removes the special case root path detection in cmd_fdt.c since it
is no longer necessary.
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10 19:21:36 -04:00
Gerald Van Baren
9675ee7208
Add fdt_find_node_by_type() and fdt_find_compatible_node() to LIBFDT
...
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10 19:21:36 -04:00
Gerald Van Baren
1a861169bc
Replace fdt_node_offset() with fdt_find_node_by_path().
...
The new name matches more closely the kernel's name, which is also
a much better description.
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10 19:21:36 -04:00
Gerald Van Baren
8096b3b8f7
libfdt: Conditionally compile based on CONFIG_OF_LIBFDT
...
This is the way u-boot reduces configured-out code. At Wolfgang
Grandegger and Wolfgang Denk's request, make libfdt conform.
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10 19:21:35 -04:00
Wolfgang Denk
37837828d8
Clenaup, update CHANGELOG
...
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-04-18 17:49:29 +02:00
Gerald Van Baren
3f9f08cf91
Add some utilities to manipulate the reserved memory map.
2007-04-14 22:46:41 -04:00
Gerald Van Baren
6679f92995
libfdt: Make fdt_check_header() public
...
Changed _fdt_check_header() to fdt_check_header() and made it part of
the interface - it is a useful routine.
Also did some asthetics cleanup to the include files (headers).
2007-04-06 14:17:14 -04:00
Wolfgang Denk
94abd7c058
Minor cleanup.
2007-04-04 01:49:15 +02:00
Gerald Van Baren
aea03c4e8c
Fix some minor whitespace violations.
2007-03-31 14:30:53 -04:00
Gerald Van Baren
3af0d587d9
libfdt: Enhanced and published fdt_next_tag()
...
Enhanced the formerly private function _fdt_next_tag() to allow stepping
through the tree, used to produce a human-readable dump, and made
it part of the published interface.
Also added some comments.
2007-03-31 12:13:43 -04:00
Gerald Van Baren
fa3a74cec7
libfdt: Customizations for use by u-boot.
...
Changes to David Gibson's original source to fit into u-boot's
environment. No functionality changes.
2007-03-31 12:05:39 -04:00
Gerald Van Baren
35748177c6
libfdt: Import libfdt source (2 of 2)
...
This adds the applicable libfdt source files (unmodified) and a README
to explain where the source came from.
2007-03-31 12:00:56 -04:00
Gerald Van Baren
7cd5da0fe8
libfdt: Import libfdt source (1 of 2)
...
This adds the applicable libfdt source files (unmodified) and a README
to explain where the source came from.
2007-03-31 11:59:59 -04:00