[PATCH] powerpc: delete boot-cpu and chosen nodes from all DTS files
Segher Boessenkool
segher at kernel.crashing.org
Thu Feb 15 12:45:54 EST 2007
>> 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?
Every device tree is required to have a /chosen node. Now
that doesn't mean DTS files need one; there are some more
options:
-- dtc could add the node whenever it is missing from the DTS;
-- it could be made a requirement of the boot loader to add it;
-- the kernel could be taught to fake one if needed.
Pick your poison :-) I prefer the first option (dtc).
Segher
More information about the Linuxppc-dev
mailing list