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

Timur Tabi timur at freescale.com
Wed Feb 14 04:20:42 EST 2007


Kumar Gala wrote:
> 
> On Feb 13, 2007, at 10:47 AM, Timur Tabi wrote:
> 
>> 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 <timur at freescale.com>
>> ---
> 
> 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



More information about the Linuxppc-dev mailing list