[RFC:PATCH dtc-1.3.0] dtc: Add --strip-disabled option to dtc.
Tabi Timur-B04825
B04825 at freescale.com
Wed Aug 15 23:21:24 EST 2012
Srinivas KANDAGATLA wrote:
> for_each_child(tree, child) {
> + if (strip_disabled && !is_device_node_avaiable(child))
> + continue;
> +
> flatten_tree(child, emit, etarget, strbuf, vi);
> }
Since this function is recursive, children of disabled nodes will also be
removed. You should document that.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the devicetree-discuss
mailing list