Message ID | 20210726133440.634682-17-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=ZIMTnhUN; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GYLbN0FfDz9sXJ for <incoming@patchwork.ozlabs.org>; Mon, 26 Jul 2021 23:38:07 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9CF8C8337F; Mon, 26 Jul 2021 15:37:44 +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="ZIMTnhUN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4226183346; Mon, 26 Jul 2021 15:36:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (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 CC39A8334E for <u-boot@lists.denx.de>; Mon, 26 Jul 2021 15:35:14 +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-x22d.google.com with SMTP id u10so10879111oiw.4 for <u-boot@lists.denx.de>; Mon, 26 Jul 2021 06:35:14 -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=9ZxA+0ovl3ildbTT62YUe9PxVPjsLKUXB/ua3KK9bzQ=; b=ZIMTnhUNnwjvn7H3SmYNfS4qetRivu4EHwiVcwsDX0vUVv6z2U5XuwN3IA10EnFb+S 6fRZNNCNnLzDMgrti9hTm9n2i/C+ZCYMzna2BokP6IlbgmroQTQPlufnOsl3/Dv6DQDk eb2r37o1Qqi6Za5qJDu/twveXbnTehqB1us8A= 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=9ZxA+0ovl3ildbTT62YUe9PxVPjsLKUXB/ua3KK9bzQ=; b=sxELNxqYz38kHaTeuwd1iSL1fGr9nIHfyWHtY0+x0Y1iyxt5nTV5jHNwLNVUPjruIt jFvHs5djg4Usl6rG4G/+/Jm8NKNPuIenlefsV1q0sTaxqTofa1jKttrvtIMbCNTVK6sv BQALj2jlr9+APH70xay2s4UjTq5c64n730IT+CKi2NnsYo0trLx97A2C+WWiHmvJkt34 P4xepwjdgnlwzogsdfdtxKJBjG37q1BzVqXibDALcVWOpej8eIhlVpuAYHvEJ6c9hhpt h4Ku9hpPuwt967J2HR9PcCeeTnxGs2yISEhafvesfJIgzyz93KdrvJjhLSdLuXwpqMOr 3lmQ== X-Gm-Message-State: AOAM533QCTxZ7+SK3tExDTJ4xg5KTkv3+HaU+EBJFO8h6QjjR40j5zap kgzt/kvoZ592Mb4p2vNOrZ4juP63WHkWaubH X-Google-Smtp-Source: ABdhPJwPBETxegM5f6Bvhuxx1j8LQV7E7fFbRW92BsG4gJmjliUWTMo1l8tertUnuIDZZ5tJw9ZTvQ== X-Received: by 2002:a54:4107:: with SMTP id l7mr16921052oic.66.1627306513031; Mon, 26 Jul 2021 06:35:13 -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 t141sm6591527oot.40.2021.07.26.06.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 06:35:12 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>, Andy Fleming <afleming@gmail.com>, Mario Six <mario.six@gdsys.cc>, Priyanka Jain <priyanka.jain@nxp.com>, Stefan Roese <sr@denx.de>, Wolfgang Denk <wd@denx.de> Subject: [PATCH 16/33] ppc: socrates: Drop use of DM_PCI Date: Mon, 26 Jul 2021 07:34:22 -0600 Message-Id: <20210726133440.634682-17-sjg@chromium.org> X-Mailer: git-send-email 2.32.0.432.gabb21c7263-goog In-Reply-To: <20210726133440.634682-1-sjg@chromium.org> References: <20210726133440.634682-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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
pci: Drop all pre-driver model code
|
expand
|
diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c index 3444af6a8c7..3ba2fbbd560 100644 --- a/board/socrates/socrates.c +++ b/board/socrates/socrates.c @@ -53,7 +53,7 @@ int checkboard (void) } putc('\n'); -#if defined(CONFIG_PCI) || defined(CONFIG_DM_PCI) +#if defined(CONFIG_PCI) /* Check the PCI_clk sel bit */ if (in_be32(&gur->porpllsr) & (1<<15)) { src = "SYSCLK"; @@ -130,9 +130,7 @@ int misc_init_r (void) &flash_info[CONFIG_SYS_MAX_FLASH_BANKS - 1]); } -#if defined(CONFIG_DM_PCI) pci_init(); -#endif return 0; }
Now that DM_PCI is always enabled we don't need to check it. Drop this old code. Signed-off-by: Simon Glass <sjg@chromium.org> --- board/socrates/socrates.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)