Thread (1 message) 1 message, 1 author, 2012-07-05

Re: [PATCH V2] dtc: Add ability to delete nodes and properties

From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2012-07-05 06:19:50

On 14:12 Tue 03 Jul     , Stephen Warren wrote:
On 06/12/2012 05:10 PM, Stephen Warren wrote:
quoted
From: Stephen Warren <redacted>

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 <redacted>
---
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, Jon, does this look reasonable?
I need this on AT91 as Grant refused to have a 0 value on boolean

so this is my only ay to disable it

Best Regards,
J.
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help