On 06/12/2012 05:10 PM, Stephen Warren wrote: > From: Stephen Warren <swar...@nvidia.com> > > dtc currently allows the contents of properties to be changed, and the > contents of nodes to be added to. There are situations where removing > properties or nodes may be useful. This change implements the following > syntax to do that: > > / { > propname /delprop/; > nodename /delnode/; > }; > > or: > > &noderef /delnode/; > > Signed-off-by: Stephen Warren <swar...@nvidia.com> > --- > v2: Implemented in a significantly different fashion: Rather than actually > deleting nodes/properties as the DT is parsed, simply mark them deleted, > and skip deleted nodes during later processing. This allows implementation > without needing rework of various error-checks, such as duplicate labels.
David, does this address your concerns with the previous version? I suppose the diff is a little large. Perhaps for_each_child() should always exclude deleted children, and a new macro be introduced for the locations that want deleted children too? _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss