Kumar Gala 865f24dc92 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>
2009-10-03 09:04:17 -05:00
..
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-07-26 13:12:02 +02:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-08-10 10:38:34 +02:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-10-03 09:04:12 -05:00
2009-07-08 11:43:15 +09:00
2009-07-08 11:43:15 +09:00
2009-07-08 11:43:15 +09:00