Thread (13 messages) flat view 13 messages, 4 authors, 2008-10-08

Re: [PATCH 1/3] powerpc: 83xx: pci: Remove need for get_immrbase from mpc83xx_add_bridge.

From: Kumar Gala <hidden>
Date: 2008-10-08 12:35:58

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