From: Simon Glass Date: Mon, 2 Aug 2021 00:54:35 +0000 (-0600) Subject: pci: imx: Drop DM_PCI check from cpu driver X-Git-Tag: v2025.01-rc5-pxa1908~1759^2~8 X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=63814a69864ec5b2b8e85aace86ec1270e755c09;p=u-boot.git pci: imx: Drop DM_PCI check from cpu driver We don't need this check anymore since when PCI is enabled, driver model is always used. Drop it. Signed-off-by: Simon Glass --- diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index 423b715352..8eb05c8dd6 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -283,10 +283,6 @@ u32 get_ahb_clk(void) void arch_preboot_os(void) { -#if defined(CONFIG_PCIE_IMX) && !CONFIG_IS_ENABLED(DM_PCI) - imx_pcie_remove(); -#endif - #if defined(CONFIG_IMX_AHCI) struct udevice *dev; int rc; diff --git a/include/pci.h b/include/pci.h index fed829727c..4d771133b2 100644 --- a/include/pci.h +++ b/include/pci.h @@ -836,10 +836,6 @@ int pci_last_busno(void); extern void pci_mpc85xx_init (struct pci_controller *hose); #endif -#ifdef CONFIG_PCIE_IMX -extern void imx_pcie_remove(void); -#endif - /** * pci_write_bar32() - Write the address of a BAR including control bits *