[PATCH 1/3] powerpc: 83xx: pci: Remove need for get_immrbase from mpc83xx_add_bridge.
Kumar Gala
galak at kernel.crashing.org
Wed Oct 8 23:35:09 EST 2008
On Oct 7, 2008, at 2:00 PM, John Rigby wrote:
> Modify mpc83xx_add_bridge to get config space register base address
> from the device
> tree instead of immr + hardcoded offset.
>
> 83xx pci nodes have this change:
> register properties now contain two address length tuples:
> First is the pci bridge register base, this has always been there.
> Second is the config base, this is new.
>
> This is documented in Documentation/powerpc/dts-bindings/fsl/
> 83xx-512x-pci.txt
>
> The changes accomplish these things:
> mpc83xx_add_bridge no longer needs to call get_immrbase
> it uses hard coded addresses if the second register value is
> missing
>
> Signed-off-by: John Rigby <jrigby at freescale.com>
> ---
> .../powerpc/dts-bindings/fsl/83xx-512x-pci.txt | 40 +++++++++++
> +++
> arch/powerpc/boot/dts/mpc8313erdb.dts | 3 +-
> arch/powerpc/boot/dts/mpc8315erdb.dts | 3 +-
> arch/powerpc/boot/dts/mpc832x_mds.dts | 3 +-
> arch/powerpc/boot/dts/mpc832x_rdb.dts | 3 +-
> arch/powerpc/boot/dts/mpc8349emitx.dts | 6 ++-
> arch/powerpc/boot/dts/mpc8349emitxgp.dts | 3 +-
> arch/powerpc/boot/dts/mpc834x_mds.dts | 6 ++-
> arch/powerpc/boot/dts/mpc836x_mds.dts | 3 +-
> arch/powerpc/boot/dts/mpc836x_rdk.dts | 3 +-
> arch/powerpc/boot/dts/mpc8377_mds.dts | 3 +-
> arch/powerpc/boot/dts/mpc8377_rdb.dts | 3 +-
> arch/powerpc/boot/dts/mpc8378_mds.dts | 3 +-
> arch/powerpc/boot/dts/mpc8378_rdb.dts | 3 +-
> arch/powerpc/boot/dts/mpc8379_mds.dts | 3 +-
> arch/powerpc/boot/dts/mpc8379_rdb.dts | 3 +-
> arch/powerpc/boot/dts/sbc8349.dts | 3 +-
> arch/powerpc/sysdev/fsl_pci.c | 54 +++++++++++
> ++-------
> 18 files changed, 111 insertions(+), 37 deletions(-)
> create mode 100644 Documentation/powerpc/dts-bindings/fsl/83xx-512x-
> pci.txt
applied
- k
More information about the Linuxppc-dev
mailing list