[DTC PATCH] Add support for decimal, octal and binary based cell values.

Dan Malek dan at embeddedalley.com
Fri Feb 16 09:33:47 EST 2007


On Feb 15, 2007, at 9:13 AM, Jon Loeliger wrote:

> New syntax d#, b#, o# and h# allow for an explicit prefix
> on cell values to specify their base.  Eg: <d# 123>

Why do we need yet another syntax?  Everyone
else, including most silicon documentation, uses
the standard "C" syntax 0x for hex, 0 for octal, and
nothing for decimal.  If really needed binary, we
could us the '0b'.  Of the few dts files I've done,
anything to make this easier, rather than inventing
something new, would be appreciated.

Thanks.

	-- Dan




More information about the Linuxppc-dev mailing list