RE: [PATCH v2 REPOST] dtc: Add support for named integer constants
From: David VomLehn (dvomlehn) <hidden>
Date: 2012-01-11 22:10:52
Even if everyone can't make it, how about a BoF session at ELC 2012? I haven't had any time to contribute recently, but am tremendously interested in moving this forward.
-----Original Message----- From: devicetree-discuss-bounces+dvomlehn=cisco.com-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
[mailto:devicetree-discuss-bounces+dvomlehn=cisco.com-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org]
On Behalf Of Jon Loeliger Sent: Wednesday, January 11, 2012 6:38 AM To: David Gibson Cc: Devicetree Discuss Subject: Re: [PATCH v2 REPOST] dtc: Add support for named integer constantsquoted
On Tue, Jan 10, 2012 at 01:54:30PM -0800, Stephen Warren wrote:quoted
John, David, What can we do to reach consensus on expanding dtc to handle named constants, or in general any future direction to extend the syntaxwithquoted
quoted
expressions etc.?Hrm, so, I'm not at all keen to add a named constant syntax withoutatquoted
least having an outline of what a future macro/function syntax would look like.Which is where I thought it was left earlier...? :-) And it's not just what the macro/function syntax will look like, but also how these will play into a more generalized expression handling mechanism. Defining something one-off now that doesn't fit well into a long term plan is less than ideal. Yes, I know that is tantamount to requiring the whole, larger picture be solved first. But Dave is right -- at least an outline of the direction. Seriously, the lexical problems can form some of the nastiest gotchas if we're not careful from the onset.quoted
The latter is almost certain to permit the former as a subcase, and I'd really rather not end up with two different syntaxes for constants.Exactly.quoted
Unfortunately, much as I'd like to get all these extended features into dtc,Agreed....quoted
quoted
Will either of you be attending Linaro Connect or ELC 2012 inFebruaryquoted
quoted
by any chance? We could get together and talk this through inperson ifquoted
quoted
you are...Not for me, I'm afraid.Only if they are in Austin. :-) Which is to say "Sorry, no." jdl _______________________________________________ devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org https://lists.ozlabs.org/listinfo/devicetree-discuss