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 D1A83C433EF for ; Wed, 24 Nov 2021 17:00:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8064382A52; Wed, 24 Nov 2021 18:00:51 +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="ZIF6r7XB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13F3983681; Wed, 24 Nov 2021 18:00:48 +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 CBC8F80D28 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 E1A6460E95; Wed, 24 Nov 2021 17:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637773243; bh=i95nb4rBf+uSGa86a5t+/D4o+O3fem59ThjeCJdw0LA=; h=From:To:Cc:Subject:Date:From; b=ZIF6r7XBiyiQbkIhMkgGa13SOdd4x8ZE2bWLosg5X3/YHkN0kcibJS3Oe9C9KUznu CSTFAZdigMe8aOMRHSUFG9MozQRvgumeSO5g7b9wfaR7cJ8INBQyWxeeLCl6iYRtf2 +rukCMRf4evJwHEZO/PnjQZEA4LeeSLCfsTqjRMBDdw31oLklcUqdYk2HTtjk6UxQy u7kZG5WTwa31EiOHtB4D0npGnqrwokqPiwTIkzHvFULTPUjtt605+NMPk/p+7f1Jg+ p7eIdKXE/jBEri/kZ+6O4XAuzw9O0sFMYScjPUs1tniMCvw64nIfZsU92ifpVce/Tq jCHYOsJTWL7hQ== Received: by pali.im (Postfix) id 5AEB256D; Wed, 24 Nov 2021 18:00:40 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Simon Glass , Bin Meng , David Feng , Liviu Dudau , Nicolas Saenz Julienne , Matthias Brugger , Bharat Gooty Cc: u-boot@lists.denx.de Subject: [PATCH u-boot-next 0/4] pci: Use PCIE_ECAM_OFFSET() macro Date: Wed, 24 Nov 2021 18:00:29 +0100 Message-Id: <20211124170033.4137-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 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 This patch series replace usage of custom driver functions and macros by PCIE_ECAM_OFFSET() macro provided by U-Boot pci.h header file. Please properly review these patches as I do not have hardware with these drivers for testing. Support for PCIE_ECAM_OFFSET() macro is in U-Boot next branch. Pali Rohár (4): vexpress64: Remove unused macro XR3PCI_ECAM_OFFSET pci: pcie-brcmstb: Use PCIE_ECAM_OFFSET() macro pci: pcie_iproc: Use PCIE_ECAM_OFFSET() macro pci: pci_octeontx: Use PCIE_ECAM_OFFSET() macro board/armltd/vexpress64/pcie.c | 4 --- drivers/pci/pci_octeontx.c | 61 +++++++++++----------------------- drivers/pci/pcie_brcmstb.c | 7 +--- drivers/pci/pcie_iproc.c | 17 ++-------- 4 files changed, 24 insertions(+), 65 deletions(-) -- 2.20.1