Re: [PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-11 Thread David Gibson
On Fri, Nov 09, 2007 at 08:32:57AM -0600, Jon Loeliger wrote: > So, like, the other day David Gibson mumbled: > > > > But you do take a hit w.r.t. *minimum* representation size - there's > > no form amongst all the possibilities here more compact than pure hex. > > Especially since spaces are opti

Re: [PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-09 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: > > But you do take a hit w.r.t. *minimum* representation size - there's > no form amongst all the possibilities here more compact than pure hex. > Especially since spaces are optional in the old form. The fact that > [ab cd 00] and [abcd00] are equiv

Re: [PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-08 Thread David Gibson
On Thu, Nov 08, 2007 at 08:13:13AM -0600, Jon Loeliger wrote: > David Gibson wrote: > > > > Yes, I know, but I don't think it's even worth having the unused > > internal parameterization. > > OK. We can eliminate it then; no problem. > > >> I ran my "old versus new DTC" comparison script and fo

Re: [PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-08 Thread Jon Loeliger
David Gibson wrote: > > Yes, I know, but I don't think it's even worth having the unused > internal parameterization. OK. We can eliminate it then; no problem. > >> I ran my "old versus new DTC" comparison script and found it. :-) > > Heh, we should fold that into the testsuite, too. I'll sta

Re: [PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-07 Thread David Gibson
On Wed, Nov 07, 2007 at 08:14:29AM -0600, Jon Loeliger wrote: > So, like, the other day David Gibson mumbled: > > On Tue, Nov 06, 2007 at 04:19:19PM -0600, Jon Loeliger wrote: > > > From: Jon Loeliger <[EMAIL PROTECTED]> > > > > > > Fixes BYTESTRING lexing. > > > Allows -O dts output to be emitted

Re: [PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-07 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: > On Tue, Nov 06, 2007 at 04:19:19PM -0600, Jon Loeliger wrote: > > From: Jon Loeliger <[EMAIL PROTECTED]> > > > > Fixes BYTESTRING lexing. > > Allows -O dts output to be emitted in a given (1) format version. > > Ok... I'd actually be more inclined t

Re: [PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-06 Thread David Gibson
On Tue, Nov 06, 2007 at 04:19:19PM -0600, Jon Loeliger wrote: > From: Jon Loeliger <[EMAIL PROTECTED]> > > Fixes BYTESTRING lexing. > Allows -O dts output to be emitted in a given (1) format version. Ok... I'd actually be more inclined to remove the option and just have -Odts *always* use the new

[PATCH] DTC: Polish up the DTS Version 1 implementation.

2007-11-06 Thread Jon Loeliger
From: Jon Loeliger <[EMAIL PROTECTED]> Fixes BYTESTRING lexing. Allows -O dts output to be emitted in a given (1) format version. Skirts around a range check problem in eval_literal() for now. Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> --- David, This patch is directly on top of your prior