[PATCH add immr alias 2/4] powerpc: 5121: Add immr alias to MPC5121 ADS device tree.

Grant Likely grant.likely at secretlab.ca
Wed Aug 6 07:05:06 EST 2008


On Tue, Aug 5, 2008 at 2:13 PM, John Rigby <jrigby at freescale.com> wrote:
> So get_immrbase can function without a device_type = "soc"
> property in the soc node.
>
> The "soc" node should really be named "immr"
> because it does not include the entire soc, however
> u-boot currently looks up this node by name for
> a clock fixup so leave it "soc" for now.  We will change
> it later after 5121 u-boot uses the immr alias instead
> of the node name.

Is it not sufficient to search the tree for a node with the
<chip>-immr compatible value?  I don't think this is the intended use
case of aliases.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the Linuxppc-dev mailing list