commit | fbcb2ff5c6477c7d2ddc9f54967a5cfc21aefbed | [log] [tgz] |
---|---|---|
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | Tue Aug 27 10:13:54 2019 +0000 |
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | Wed Aug 28 13:47:44 2019 +0530 |
tree | 00054438aaf0d4a32e0a59c3758b6df67266b27b | |
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 <Zhiqiang.Hou@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>