diff options
| author | Hou Zhiqiang <[email protected]> | 2019-08-27 10:13:54 +0000 |
|---|---|---|
| committer | Prabhakar Kushwaha <[email protected]> | 2019-08-28 13:47:44 +0530 |
| commit | fbcb2ff5c6477c7d2ddc9f54967a5cfc21aefbed (patch) | |
| tree | 00054438aaf0d4a32e0a59c3758b6df67266b27b /include | |
| parent | d18d06ac35229345a0af80977a408cfbe1d1015b (diff) | |
dm: pcie_fsl: Fix the calculation of controller index
The PCIe controller register address in CCSR is different
on various platforms, the current code erroneously use
the hardcoded address (0xffe240000) and stride (0x10000)
to calculate the controller's index.
Fix it by adding the related info to the driver data
structure.
Signed-off-by: Hou Zhiqiang <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Prabhakar Kushwaha <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
