Re: [RFC PATCH v2 1/3] dtc: dts source location annotation

2015-09-22 Thread David Gibson
On Tue, Sep 22, 2015 at 10:10:42AM -0700, Frank Rowand wrote: > On 9/22/2015 3:32 AM, David Gibson wrote: > > On Mon, Sep 21, 2015 at 10:36:47PM -0700, Frank Rowand wrote: > >> From: Frank Rowand [snip] > >> @@ -71,6 +72,7 @@ static struct option const usage_long_op > >>{"error",

Re: [RFC PATCH v2 1/3] dtc: dts source location annotation

2015-09-22 Thread Frank Rowand
On 9/22/2015 3:32 AM, David Gibson wrote: > On Mon, Sep 21, 2015 at 10:36:47PM -0700, Frank Rowand wrote: >> From: Frank Rowand >> >> Proof of concept patch. > > Still like the idea, still some some problems with the implementation. > >> Annotates input source file and line number of nodes and p

Re: [RFC PATCH v2 1/3] dtc: dts source location annotation

2015-09-22 Thread David Gibson
On Mon, Sep 21, 2015 at 10:36:47PM -0700, Frank Rowand wrote: > From: Frank Rowand > > Proof of concept patch. Still like the idea, still some some problems with the implementation. > Annotates input source file and line number of nodes and properties > as comments in output .dts file when --an

[RFC PATCH v2 1/3] dtc: dts source location annotation

2015-09-21 Thread Frank Rowand
From: Frank Rowand Proof of concept patch. Annotates input source file and line number of nodes and properties as comments in output .dts file when --annotate flag is supplied. A common dts source file convention is for a system .dts file to include default SOC and/or device .dtsi files and th