]> git.sur5r.net Git - u-boot/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)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:17 +0000 (09:04 -0500)
commit865f24dc92d03928c09b7f20a3133823e53c1ac3
tree455bd68614d879f650e82fe44f445d903a85e38c
parent8b8376e81ca725772fa7a3e1b58ca55a761cdf1d
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