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: Segher Boessenkool <hidden>
Date: 2007-02-15 01:45:59

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