Subject: Re: [dtc] Add support for flat device tree format version 17

From: David Gibson <[email-masked]>
Date: Wed, 14 Mar 2007 11:02:13 +1100

On Tue, Mar 13, 2007 at 02:10:02PM -0700, Mark A. Greer wrote:
> On Tue, Mar 13, 2007 at 05:22:40PM +1100, David Gibson wrote:
> > Index: dtc/dtc.c
> > ===================================================================
> > --- dtc.orig/dtc.c	2007-03-13 16:37:01.000000000 +1100
> > +++ dtc/dtc.c	2007-03-13 16:37:17.000000000 +1100
> > @@ -113,7 +113,7 @@ int main(int argc, char *argv[])
> >  	int opt;
> >  	FILE *inf = NULL;
> >  	FILE *outf = NULL;
> > -	int outversion = 0x10;
> > +	int outversion = 0x11;
> 
> Super-minor nit but since you seem to refer to the version as decimal
> '17' everywhere else, why don't you just put '17' here?

Oh, because, the old code used hex.  Which it does in a totally
inconsistent fashion.  Yeah, I probably should take this opportunity
to start phasing out the use of hex.  Ok, revised patch coming.

-- 
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