summaryrefslogtreecommitdiff
path: root/libfdt
Commit message (Collapse)AuthorAgeLines
* LIBFDT: use memmove() instead of memcpy()Gerald Van Baren2008-01-08-3/+3
| | | | | | | | | | | | | This is partial patch from the DTC/libfdt commit 67b6b33b9b413a450a72135b5dc59c0a1e33e647 Author: David Gibson <david@gibson.dropbear.id.au> Date: Wed Nov 21 11:56:14 2007 +1100 The patch also fixes one genuine bug caught by valgrind - _packblocks() in fdt_rw.c was using memcpy() where it should have been using memmove(). Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* Update libfdt from device tree compiler (dtc)Kumar Gala2007-11-21-386/+895
| | | | | | | Update libfdt to commit 8eaf5e358366017aa2e846c5038d1aa19958314e from the device tree compiler (dtc) project. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Removed some nonused fdt functions and moved fdt_find_and_setprop out of libfdtKumar Gala2007-11-21-138/+0
| | | | | | | | | | | | | | Removed: fdt_node_is_compatible fdt_find_node_by_type fdt_find_compatible_node To ease merge of newer libfdt as we aren't using them anywhere at this time. Also moved fdt_find_and_setprop out of libfdt into fdt_support.c for the same reason. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* [BUILD] conditionally compile libfdt/*.c in libfdt/MakefileKumar Gala2007-11-21-31/+1
| | | | | | | Modify libfdt/Makefile to conditionally compile the *.c files based on the board config. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Build: split COBJS value into multiple linesGrant Likely2007-11-15-2/+2
| | | | | | | | | This change is in preparation for condtitionial compile support in the build system. By spliting them all into seperate lines now, subsequent patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_<blah>) += ' will be less invasive and easier to review Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* libfdt: add convenience function fdt_find_and_setprop()Grant Likely2007-09-06-0/+26
| | | | | | | 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>
* Minor coding style cleanup. Update CHANGELOG.Wolfgang Denk2007-08-13-1/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* For fdt_find_node_by_path(), handle the root path properly.Gerald Van Baren2007-08-10-0/+4
| | | | | | | 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>
* Add fdt_find_node_by_type() and fdt_find_compatible_node() to LIBFDTGerald Van Baren2007-08-10-18/+143
| | | | | Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
* Replace fdt_node_offset() with fdt_find_node_by_path().Gerald Van Baren2007-08-10-1/+1
| | | | | | | | 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>
* libfdt: Conditionally compile based on CONFIG_OF_LIBFDTGerald Van Baren2007-08-10-0/+31
| | | | | | | 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>
* Clenaup, update CHANGELOGWolfgang Denk2007-04-18-2/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Add some utilities to manipulate the reserved memory map.Gerald Van Baren2007-04-14-0/+98
|
* libfdt: Make fdt_check_header() publicGerald Van Baren2007-04-06-5/+5
| | | | | | | 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).
* Minor cleanup.Wolfgang Denk2007-04-04-10/+7
|
* Fix some minor whitespace violations.Gerald Van Baren2007-03-31-2/+2
|
* libfdt: Enhanced and published fdt_next_tag()Gerald Van Baren2007-03-31-52/+116
| | | | | | | 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.
* libfdt: Customizations for use by u-boot.Gerald Van Baren2007-03-31-76/+35
| | | | | Changes to David Gibson's original source to fit into u-boot's environment. No functionality changes.
* libfdt: Import libfdt source (2 of 2)Gerald Van Baren2007-03-31-0/+860
| | | | | This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.
* libfdt: Import libfdt source (1 of 2)Gerald Van Baren2007-03-31-0/+340
This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.