summaryrefslogtreecommitdiff
path: root/drivers/mmc/bcm2835_sdhci.c
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2019-08-27 10:13:54 +0000
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2019-08-28 13:47:44 +0530
commitfbcb2ff5c6477c7d2ddc9f54967a5cfc21aefbed (patch)
tree00054438aaf0d4a32e0a59c3758b6df67266b27b /drivers/mmc/bcm2835_sdhci.c
parentd18d06ac35229345a0af80977a408cfbe1d1015b (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>
Diffstat (limited to 'drivers/mmc/bcm2835_sdhci.c')
0 files changed, 0 insertions, 0 deletions