u-boot/tools/dtoc
Philipp Tomsich 55bc080e79 dtoc: make ScanTree recurse into subnodes
Previously, dtoc could only process the top-level nodes which led to
device nodes in hierarchical trees to be ignored. E.g. the mmc0 node
in the following example would be ignored, as only the soc node was
processed:

  / {
	soc {
		mmc0 {
			/* ... */
		};
	};
  };

This introduces a recursive helper method ScanNode, which is used by
ScanTree to recursively parse the entire tree hierarchy.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-03-22 07:27:19 -06:00
..
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtoc dm: Add a tool to generate C code from a device tree 2016-07-14 20:40:24 -06:00
dtoc.py dtoc: make ScanTree recurse into subnodes 2017-03-22 07:27:19 -06:00
fdt.py dtoc: Support finding the offset of a property 2016-09-18 21:04:39 -06:00
fdt_fallback.py dtoc: Use items() to iterate over dictionaries in python 3.x 2016-10-09 09:30:32 -06:00
fdt_normal.py dtoc: Adjust GetProps() in fdt_normal to use the node path 2016-10-09 09:30:32 -06:00
fdt_select.py dtoc: Add a way for tests to request the fallback library 2016-10-09 09:30:32 -06:00
fdt_util.py dtoc: Decode strings for struct.unpack on python 3.x 2016-10-09 09:30:32 -06:00