summaryrefslogtreecommitdiff
path: root/common/fdt_support.c
Commit message (Collapse)AuthorAgeLines
...
* Replace fdt_node_offset() with fdt_find_node_by_path().Gerald Van Baren2007-08-10-5/+5
| | | | | | | | 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>
* Minor code clean up.Gerald Van Baren2007-08-10-0/+5
| | | | | | | | Declare the variable fdt properly as extern. Call the "set_fn" function pointer the "short way" without the full dereferencing syntax. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* Improve error messages, more informative.Gerald Van Baren2007-08-10-13/+14
| | | | | | | | Print more than the raw libfdt error message strings. This is especially useful for cluing in the user when the bootm command aborts due to blob problems. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* Fix serious pointer bug with bootm and reserve map.Gerald Van Baren2007-04-19-2/+2
| | | | | | | What was suppose to be a stack variable was declared as a pointer, overwriting random memory. Also moved the libfdt.a requirement into the main Makefile. That is The U-Boot Way.
* Improve the bootm command for CONFIG_OF_LIBFDTGerald Van Baren2007-04-14-5/+29
| | | | | | In bootm, create the "/chosen" node only if it doesn't already exist (better matches the previous behavior). Update for proper reserved memory map handling for initrd.
* Moved fdt command support code to fdt_support.cGerald Van Baren2007-04-06-0/+323
...in preparation for improving the bootm command's handling of fdt blobs. Also cleaned up some coding sloppiness.