diff options
| author | Kumar Gala <[email protected]> | 2010-12-15 14:21:41 -0600 |
|---|---|---|
| committer | Kumar Gala <[email protected]> | 2011-01-14 01:32:19 -0600 |
| commit | a4aafcc990c12816cfd4644e5c003d8556b6236b (patch) | |
| tree | 3b707b93bce69d27da88dfd89bd5887494b807ce /include | |
| parent | 3a0e3c27a50e395a59497e8bd60a00404e662eb1 (diff) | |
powerpc/fsl-pci: Add generic code to setup PCIe controllers
Since all the PCIe controllers are connected over SERDES on the SoCs we
can utilize is_serdes_configured() to determine if a controller is
enabled. After which we can setup the ATMUs and LAWs for the controller
in a common fashion and allow board code to specify what the controller
is connected to for reporting reasons.
We also provide a per controller (rather than all) for some systems that
may have special requirements.
Finally, we refactor the code used by the P1022DS to utilize the new
generic code.
Based on patch by: Li Yang <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
