Thread (24 messages) flat view 24 messages, 6 authors, 2007-02-16

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

From: Timur Tabi <hidden>
Date: 2007-02-13 17:20:51

Kumar Gala wrote:
On Feb 13, 2007, at 10:47 AM, Timur Tabi wrote:
quoted
The 'linux,boot-cpu' property and the 'chosen' node do not belong in the
DTS file, because U-Boot creates these entries in the device tree when
it boots linux.

Signed-off-by: Timur Tabi <redacted>
---
Is there some harm is having them set in the .dts?
Well, I don't think a DTS should contain a property that isn't going to be used. 
  It might convince people that the property belongs there.

The 'chosen' section is absent from all but one DTS for the same reason.
I can see 'linux,boot-cpu' may vary on a SMP, but the majority of .dts's 
are for uniproc's
U-Boot sets it, so whatever the DTS contains is ignored.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help