From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH V3] dtc: Add ability to delete nodes and properties Date: Thu, 06 Sep 2012 09:58:33 -0600 Message-ID: <5048C829.30802@wwwdotorg.org> References: <1344401415-3214-1-git-send-email-swarren@wwwdotorg.org> <20120904000539.GH8526@truffula.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Jon Loeliger Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Stephen Warren List-Id: devicetree@vger.kernel.org On 09/06/2012 06:53 AM, Jon Loeliger wrote: >> On Tue, Aug 07, 2012 at 10:50:15PM -0600, Stephen Warren wrote: >>> 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: >>> >>> / { >>> /delete-property/ propname; >>> /delete-node/ nodename; >>> }; >>> >>> or: >>> >>> /delete-node/ &noderef; ... >> Acked-by: David Gibson > > Applied! Thanks very much! Any further thoughts on named constants and whether my gpp-integration hack should be pursued?