diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-02-22 19:06:04 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-03-22 07:27:19 -0600 |
commit | 55bc080e799ac18802a791bd5ce5d83a136da6e3 (patch) | |
tree | 25977d0f0a3879b5a145c642748dce7e54b3e8b4 /configs/MPC8349ITXGP_defconfig | |
parent | b06a381a69a292d54485e5fd51e8d57f9cf2f7f9 (diff) |
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>
Diffstat (limited to 'configs/MPC8349ITXGP_defconfig')
0 files changed, 0 insertions, 0 deletions