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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 97FC5C433F5 for ; Wed, 24 Nov 2021 17:01:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0B89C8321B; Wed, 24 Nov 2021 18:01:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Zc8Z56Pm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2580A83681; Wed, 24 Nov 2021 18:00:52 +0100 (CET) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EE7DA82FB3 for ; Wed, 24 Nov 2021 18:00:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 4FDA160F58; Wed, 24 Nov 2021 17:00:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637773243; bh=8fFbpnP6tq60dlT+0UnoZkSnF7FYWlsCE6R7I2RLIm0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zc8Z56Pm5VC9MJMQcElafGlrFphXHeGN6x2GtqrydZxxRE5exXlbkeEChGnYaIzSp f8EpW5i5ArQGUUInWGDjULf9M1ApJZ20ahedRbu6LJA1X5UZO4MRxcleDnnF9Fv9Th U4aORySrW2too4jsTopSyw4AUGot9904KvtinmJ+tb9tblcuuhc0d+rbxYNOuuUvpH 9Uq7U4XiRR3o1KORGb+pwLlXGfQmvhnKsBkhmKYq9TRV6Z6V6kJ4bDPfTorA7rNXV8 /c2RWo5iscfmbVOriFFK/yB7hYY4UwxivgRfneryuIG4jDR+0j/AIjMNSY0w3/I8A5 6OEzOyujBmc3w== Received: by pali.im (Postfix) id 7AF64AFB; Wed, 24 Nov 2021 18:00:41 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Simon Glass , Bin Meng , David Feng , Liviu Dudau Cc: u-boot@lists.denx.de Subject: [PATCH u-boot-next 1/4] vexpress64: Remove unused macro XR3PCI_ECAM_OFFSET Date: Wed, 24 Nov 2021 18:00:30 +0100 Message-Id: <20211124170033.4137-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211124170033.4137-1-pali@kernel.org> References: <20211124170033.4137-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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 Macro XR3PCI_ECAM_OFFSET is unused and in case it would be needed in future it can be replaced by standard PCIE_ECAM_OFFSET macro from pci.h file. Signed-off-by: Pali Rohár --- board/armltd/vexpress64/pcie.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/board/armltd/vexpress64/pcie.c b/board/armltd/vexpress64/pcie.c index 733b190e594d..1e74158630b5 100644 --- a/board/armltd/vexpress64/pcie.c +++ b/board/armltd/vexpress64/pcie.c @@ -56,10 +56,6 @@ #define XR3PCI_ATR_TRSLID_PCIE_IO (0x020000) #define XR3PCI_ATR_TRSLID_PCIE_MEMORY (0x000000) -#define XR3PCI_ECAM_OFFSET(b, d, o) (((b) << 20) | \ - (PCI_SLOT(d) << 15) | \ - (PCI_FUNC(d) << 12) | o) - #define JUNO_RESET_CTRL 0x1004 #define JUNO_RESET_CTRL_PHY BIT(0) #define JUNO_RESET_CTRL_RC BIT(1) -- 2.20.1