]> Git Repo - J-u-boot.git/blobdiff - arch/arm/mach-imx/cpu.c
ARM: imx: Call imx_pcie_remove() only for non-DM PCI driver
[J-u-boot.git] / arch / arm / mach-imx / cpu.c
index 6b83f926623366cda86b14a2ec1c855046ba491a..93e60b2039ad4aeb6cd70bc9ea4b74662f9d9d2a 100644 (file)
@@ -285,7 +285,7 @@ u32 get_ahb_clk(void)
 
 void arch_preboot_os(void)
 {
-#if defined(CONFIG_PCIE_IMX)
+#if defined(CONFIG_PCIE_IMX) && !CONFIG_IS_ENABLED(DM_PCI)
        imx_pcie_remove();
 #endif
 #if defined(CONFIG_SATA)
This page took 0.029763 seconds and 4 git commands to generate.