[U-Boot] [PATCH v1] dtoc: make ScanTree recurse into subnodes

Simon Glass sjg at chromium.org
Wed Feb 22 03:59:29 UTC 2017


Hi Philipp,

On 17 February 2017 at 10:24, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> 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 at theobroma-systems.com>
> ---
>  tools/dtoc/dtoc.py | 19 ++++++++++++++++++-
>  1 file changed, 18 insertions(+), 1 deletion(-)

Thanks for the patch. It seems to be in a funny format, in that only a
few lines are changed but it has the whole file as context. Can you
perhaps try using 'patman' to generate the patch?

Regards,
Simon


More information about the U-Boot mailing list