Re: [PATCH add immr alias 1/4] powerpc: Teach get_immrbase to use immr alias if it exists.

Started by Grant Likely on Aug 5, 2008

open the first message on its own page

Message details and related content
On Tue, Aug 5, 2008 at 2:49 PM, Scott Wood [off-list ref] wrote:
Arnd Bergmann wrote:
quoted
On Tuesday 05 August 2008, John Rigby wrote:
quoted
This will allow the eventual removal of device_type = "soc"
properties in soc nodes.
Stupid question, but why not remove immrbase instead?

It seems that all users can be converted to use a reg
property of some actual device instead of making assumptions
about the register layout of the whole SOC.
That wouldn't eliminate the need for the alias, though -- u-boot needs to
find the node to fill in properties.
(already made this comment on one of the later patches, but it is more
relevant here...)

I don't think that using aliases is the best solution.  I'd rather see
U-Boot search for the appropriate compatible value for the IMMR node.

g.
-Scott
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help