u-boot-brain/drivers/pci
Hou Zhiqiang fbcb2ff5c6 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>
2019-08-28 13:47:44 +05:30
..
fsl_pci_init.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
Kconfig pcie: ti: add driver for AM65x PCIe RC 2019-08-12 13:33:39 -04:00
Makefile pcie: ti: add driver for AM65x PCIe RC 2019-08-12 13:33:39 -04:00
pci_auto_common.c pci: Avoid assigning PCI resources that are below 0x1000 2019-06-21 10:07:11 -04:00
pci_auto_old.c mpc83xx: Make distinct caddy2 config 2019-05-20 13:50:34 +02:00
pci_auto.c mpc83xx: Make distinct caddy2 config 2019-05-20 13:50:34 +02:00
pci_common.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
pci_compat.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_ftpci100.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_gt64120.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_indirect.c pci: Don't use pci_indirect when DM is active 2018-05-08 18:50:23 -04:00
pci_internal.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_msc01.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_mvebu.c pci: pci_mvebu: set BAR0 after memory space is set 2019-08-12 13:59:31 +02:00
pci_rom.c x86: Support PCI VGA ROM when TPL is used 2019-05-08 13:02:16 +08:00
pci_sandbox.c Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
pci_sh4.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_sh7751.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_sh7780.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci_tegra.c pci: tegra: introduce weak tegra_pcie_board_port_reset() function 2018-05-10 16:34:21 -07:00
pci_x86.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci-aardvark.c Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR 2018-04-27 14:54:48 -04:00
pci-emul-uclass.c pci: sandbox: emul: Rename priv structure 2018-08-08 12:49:31 +01:00
pci-rcar-gen2.c pci: rmobile: Filter out device 1 and 2 2018-08-28 11:01:52 +02:00
pci-rcar-gen3.c pci: renesas: Add RCar Gen3 PCIe controller driver 2019-05-21 22:15:31 +02:00
pci-uclass.c pci: ensure enumeration of all devices in pci_init 2019-07-12 21:07:58 -04:00
pci.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
pcie_dw_mvebu.c pcie: designware: mvebu: fix reset release polarity 2019-02-11 09:39:12 +01:00
pcie_dw_ti.c pcie: ti: add driver for AM65x PCIe RC 2019-08-12 13:33:39 -04:00
pcie_ecam_generic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pcie_fsl_fixup.c dm: pci: add Freescale PowerPC PCIe driver 2019-06-20 10:44:45 +05:30
pcie_fsl.c dm: pcie_fsl: Fix the calculation of controller index 2019-08-28 13:47:44 +05:30
pcie_fsl.h dm: pcie_fsl: Fix the calculation of controller index 2019-08-28 13:47:44 +05:30
pcie_imx.c pci: imx: Add DM and DT support 2019-06-11 10:42:48 +02:00
pcie_intel_fpga.c pci: intel: Fix configuration type based on secondary number 2019-08-11 16:43:41 -04:00
pcie_layerscape_fixup.c pci: layerscape: Add the dts fixup for EP and RC 2019-01-17 13:17:40 -08:00
pcie_layerscape_gen4_fixup.c pci: ls_pcie_g4: add device tree fixups for PCI Stream IDs 2019-05-22 12:24:24 +05:30
pcie_layerscape_gen4.c pci: ls_pcie_g4: add device tree fixups for PCI Stream IDs 2019-05-22 12:24:24 +05:30
pcie_layerscape_gen4.h pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs 2019-05-22 12:24:24 +05:30
pcie_layerscape.c pci: layerscape: Do not scan when PEX work in EP mode 2019-01-17 13:17:33 -08:00
pcie_layerscape.h pci: layerscape: Modify the EP and RC mode judge method 2019-01-17 13:17:28 -08:00
pcie_xilinx.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00