Thread (23 messages) flat view 23 messages, 6 authors, 2007-02-15

Re: [PATCH] powerpc: delete boot-cpu and chosen nodes from all DTS files

From: David Gibson <hidden>
Date: 2007-02-14 05:19:24

On Tue, Feb 13, 2007 at 11:15:17PM -0600, Timur Tabi wrote:
Benjamin Herrenschmidt wrote:
quoted
I think that:

 - The /chosen node should be present in the .dts even if empty
Only one DTS file has it.  It's been removed from every other DTS.  Are 
you should that instead of removing the last one, I should *add* one to 
the other DTS files?
quoted
 - I don't see why you are removing linux,boot-cpu from the
documentation ! It's a fairly important property. 
No, it's a dead property.  Specifying linux,boot-cpu in the DTS is 
obsolete and deprecated.  If you specify it, the device tree compiler 
complains.  The proper way to specify the device tree is with the -b 
parameter to dtc.
Um.. you may be right in this case, but "the device tree compiler
complains" is (sadly) not in general a good reason to decide
something's bad.  The warning code in dtc is pretty bogus and
complains about a number of things it shouldn't while failing to
complain about some things it should.  I just haven't had time to make
it much better.

-- 
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help