2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 17:23:55 +08:00
linux-next/drivers/pci/host
Marek Vasut f216f57ffe PCI: imx6: Probe the PCIe in fs_initcall()
Probe the PCIe driver in fs_initcall() instead of module_init()
to assure that pci_assign_unassigned_resources() will be called
early.  This function is called in dw_pcie_host_init(), which is
in turn called from imx6_add_pcie_port(), which is called from
imx6_pcie_probe().  If this is not called early, we will hit
resource collisions since pcieport driver is then probed way too
late.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Frank Li <lznuaa@gmail.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Mohit KUMAR <Mohit.KUMAR@st.com>
Cc: Pratyush Anand <pratyush.anand@st.com>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Sean Cross <xobs@kosagi.com>
Cc: Siva Reddy Kallam <siva.kallam@samsung.com>
Cc: Srikanth T Shivanand <ts.srikanth@samsung.com>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Troy Kisky <troy.kisky@boundarydevices.com>
Cc: Yinghai Lu <yinghai@kernel.org>
2013-10-31 11:34:04 -06:00
..
Kconfig PCI: imx6: Add support for i.MX6 PCIe controller 2013-09-27 13:17:08 -06:00
Makefile PCI: imx6: Add support for i.MX6 PCIe controller 2013-09-27 13:17:08 -06:00
pci-exynos.c PCI: exynos: Add I/O access wrappers 2013-08-29 13:47:20 -06:00
pci-imx6.c PCI: imx6: Probe the PCIe in fs_initcall() 2013-10-31 11:34:04 -06:00
pci-mvebu.c ARM: SoC platform changes for 3.12 2013-09-06 13:30:06 -07:00
pci-tegra.c PCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource 2013-08-29 13:02:16 -07:00
pcie-designware.c PCI: designware: Drop "addr" arg from dw_pcie_readl_rc()/dw_pcie_writel_rc() 2013-08-29 13:38:12 -06:00
pcie-designware.h PCI: exynos: Split into Synopsys part and Exynos part 2013-08-12 12:18:20 -06:00