[PATCH v2 REPOST] dtc: Add support for named integer constants

David Gibson david at gibson.dropbear.id.au
Thu Jan 12 00:00:56 EST 2012


On Tue, Jan 10, 2012 at 01:54:30PM -0800, Stephen Warren wrote:
> 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 syntax with
> expressions etc.?

Hrm, so, I'm not at all keen to add a named constant syntax without at
least having an outline of what a future macro/function syntax would
look like.  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.

Unfortunately, much as I'd like to get all these extended features
into dtc, it's not my main job, so I don't have a lot of time to
ponder the possibilities.

> Will either of you be attending Linaro Connect or ELC 2012 in February
> by any chance? We could get together and talk this through in person if
> you are...

Not for me, I'm afraid.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson


More information about the devicetree-discuss mailing list