aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/cpu.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-01 18:54:35 -0600
committerTom Rini <trini@konsulko.com>2021-08-05 19:46:35 -0400
commit63814a69864ec5b2b8e85aace86ec1270e755c09 (patch)
treeddaccc65f227f73b36c8dc8ad52291c65fa9450e /arch/arm/mach-imx/cpu.c
parent199056d1a1b8301b493adf469859fe38d9a77170 (diff)
downloadu-boot-63814a69864ec5b2b8e85aace86ec1270e755c09.tar.gz
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 <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-imx/cpu.c')
-rw-r--r--arch/arm/mach-imx/cpu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index 423b7153522..8eb05c8dd67 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;