diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2010-12-15 14:21:41 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-01-14 01:32:19 -0600 |
commit | a4aafcc990c12816cfd4644e5c003d8556b6236b (patch) | |
tree | 3b707b93bce69d27da88dfd89bd5887494b807ce /post/tests.c | |
parent | 3a0e3c27a50e395a59497e8bd60a00404e662eb1 (diff) | |
download | u-boot-imx-a4aafcc990c12816cfd4644e5c003d8556b6236b.zip u-boot-imx-a4aafcc990c12816cfd4644e5c003d8556b6236b.tar.gz u-boot-imx-a4aafcc990c12816cfd4644e5c003d8556b6236b.tar.bz2 |
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 <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'post/tests.c')
0 files changed, 0 insertions, 0 deletions