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