From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E785C43214 for ; Mon, 2 Aug 2021 01:07:32 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B898610A6 for ; Mon, 2 Aug 2021 01:07:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2B898610A6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 40FB982B4E; Mon, 2 Aug 2021 03:07:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="VTW22guf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 515968336D; Mon, 2 Aug 2021 03:05:29 +0200 (CEST) Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CC05A83349 for ; Mon, 2 Aug 2021 02:55:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oi1-x22b.google.com with SMTP id z26so22182469oih.10 for ; Sun, 01 Aug 2021 17:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rfs3iN1g6ZLjK0QsrDJGHiFWmbvTvadQ565qlyfNdrg=; b=VTW22gufvBrqrHZQlsun/zvE3SZk0LQM+y0F6Y5cT26+0qp60eyZyNMr85usZaw70X L8pgxM3Dc1i+VqYiKhOXKzQ5occn+hVWROsBbfE2Dn7FEuvwb0upvZfytU8Jj7Bw7jNp qmYQeO3kfFSeo1iLEuVFOp3wX8aI+/VZmUBL4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rfs3iN1g6ZLjK0QsrDJGHiFWmbvTvadQ565qlyfNdrg=; b=tX2GYwydwp3alj5ui7nIazlBIcNsV0qOAIuVr2TFuuOUT96TIm+nyhcuxr9LvQoI6+ 2vHxISi6p4fCjy5axnSL+fUNTLkvmbkD0ZV5MpPyUFiNzKM+vcczQyQppYrtdDTxj/Wb DqY9aFY4kCBufu0AQwMyI4vhOy/vcKhr8s8GILJHR/vaW+0MSfc6tcYltJOOggmOckUj kOEh5z4tYxlWehRCTE4i1Liu5rBH9569NmbGtMSR+zonYFRFrhlaBACBsoqmuMX1tx6h +1wJIwpbfF/Z9nGSVJAj5ew4MhOdvr2dSVC5G1bV83OozDVrjKrxhrlX4J09CPHo3QMM 9P9A== X-Gm-Message-State: AOAM530qAvs9u+7IvvoOkhy6lCQkoV8KstnDcjTDM6idCN8FJbEfez+F ugxMyMAhWHSdsEqxQMcX77X/j2M/4W/9Vxze X-Google-Smtp-Source: ABdhPJzqiHVSxU6PKnyXra/oPLRPdqbFDb97oRhO7mUaE2jHRblVjILoMYAgpI6cMFwwT7VfN2261w== X-Received: by 2002:a05:6808:3ae:: with SMTP id n14mr4477031oie.34.1627865709309; Sun, 01 Aug 2021 17:55:09 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id s2sm1452616ooc.15.2021.08.01.17.55.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Aug 2021 17:55:08 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Stefano Babic Subject: [PATCH v2 22/32] pci: imx: Drop DM_PCI check from cpu driver Date: Sun, 1 Aug 2021 18:54:35 -0600 Message-Id: <20210802005446.2267075-23-sjg@chromium.org> X-Mailer: git-send-email 2.32.0.554.ge1b32706d8-goog In-Reply-To: <20210802005446.2267075-1-sjg@chromium.org> References: <20210802005446.2267075-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean We don't need this check anymore since when PCI is enabled, driver model is always used. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/mach-imx/cpu.c | 4 ---- include/pci.h | 4 ---- 2 files changed, 8 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; diff --git a/include/pci.h b/include/pci.h index ca086420ff2..2c2930e7a74 100644 --- a/include/pci.h +++ b/include/pci.h @@ -785,10 +785,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 * -- 2.32.0.554.ge1b32706d8-goog