[PATCH add immr alias 2/4] powerpc: 5121: Add immr alias to MPC5121 ADS device tree.
John Rigby
jrigby at freescale.com
Wed Aug 6 07:38:13 EST 2008
Scott Wood wrote:
> John Rigby wrote:
>> I would like to use mpc83xx_add_bridge for 5121. This is why I
>> moved it to fsl_pci.c. It currently uses get_immrbase and adds
>> 0x8300 and 0x8304 to it to pass to setup_indirect_pci as the
>> cfg_addr, and cfg_data addresses.
>>
>> I'm more than willing to change mpc83xx_add_bridge to not use
>> get_immrbase. One simple solution is to pass the cfg_addr and
>> cfg_data addresses in. If that seems ok then thats what I will do.
>
> We should really be putting those addresses in the "reg" property of
> the PCI node.
>
> -Scott
>
Yes, which is what fsl_add_bridge does it.
More information about the Linuxppc-dev
mailing list