]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc/8xxx: Refactor code to determine if PCI is enabled & agent/host
authorKumar Gala <galak@kernel.crashing.org>
Wed, 2 Sep 2009 14:03:08 +0000 (09:03 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 8 Sep 2009 14:10:07 +0000 (09:10 -0500)
commit3e7b6c1f2db5ec31f9e7dbc3e0cbca602167a46a
treea10000c36ecf3385327c86e27955a74718e67680
parent5052a771cf1722c37c732f3c340775b55fbe3a22
ppc/8xxx: Refactor code to determine if PCI is enabled & agent/host

Refactor the code into a simple bitmask lookup table that determines if
a given PCI controller is enabled and if its in host/root-complex or
agent/end-point mode.

Each processor in the PQ3/MPC86xx family specified different encodings
for the cfg_host_agt[] and cfg_IO_ports[] boot strapping signals.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
16 files changed:
board/atum8548/atum8548.c
board/freescale/mpc8536ds/mpc8536ds.c
board/freescale/mpc8544ds/mpc8544ds.c
board/freescale/mpc8548cds/mpc8548cds.c
board/freescale/mpc8568mds/mpc8568mds.c
board/freescale/mpc8569mds/mpc8569mds.c
board/freescale/mpc8572ds/mpc8572ds.c
board/freescale/mpc8610hpcd/mpc8610hpcd.c
board/freescale/mpc8641hpcn/mpc8641hpcn.c
board/freescale/p1_p2_rdb/pci.c
board/freescale/p2020ds/p2020ds.c
board/sbc8548/sbc8548.c
board/tqc/tqm85xx/tqm85xx.c
cpu/mpc8xxx/Makefile
cpu/mpc8xxx/pci_cfg.c [new file with mode: 0644]
include/asm-ppc/fsl_pci.h