Skip to content
Snippets Groups Projects
Commit 3e7b6c1f authored by Kumar Gala's avatar Kumar Gala
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent 5052a771
No related branches found
No related tags found
No related merge requests found
Showing
with 284 additions and 68 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment