From patchwork Wed Sep 16 20:55:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1365493 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=tROUM3Sx; dkim=temperror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=P6WmKFDE; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BsC8j3NvNz9sTp for ; Thu, 17 Sep 2020 06:57:25 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xhmqgPRHPGHksoY11PICvQuYcUpXFFh1IitiokgZFjE=; b=tROUM3SxlJZPfkhYDpT9TVN4As +pLNqcynT6W7kK1RSnJNZphH5p1tt3yRP/cu+4QBd0hP67Lvt/Z1YnUun0gLCLrmD8t6qOgqVno4W EI/0WPsMXq2YAZ3AHV6szWiUi4Oab4utQUlIiaKABNzDQo/IDZtsWLK1oxtJNVCF5YYfJTX8IykjF nsUTHl6vOpraOSJqVxbyEi92ahOBGrEAfGuRogi4iRMqN6cv8TelnGftZB4hizpZhI8+mRaj/sWnL R7G7jurMC0KHOz7DOA9hCuczktGXR7rlk6amL5Pz3GI6TYA5jR/As13XF+Gl07MBaZbPQx/qKJ2Sj NsiMyTqg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIeU6-00076Q-89; Wed, 16 Sep 2020 20:56:58 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIeTG-0006l2-US for linux-arm-kernel@lists.infradead.org; Wed, 16 Sep 2020 20:56:08 +0000 Received: by mail-qk1-x742.google.com with SMTP id o5so9702659qke.12 for ; Wed, 16 Sep 2020 13:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ygdLGS+o3CFJREcOCrfa1rPUTTf2CXzef1CyICbyhxA=; b=P6WmKFDEOrRS/tLriRqZA/6kFdczlQObwT4ZLCMHXlGsCGKOcZmEyJdpIESTro3CWM YRj+JYmoiP2n474itvD+sITLKm3zAKy4b1WO2K66eZRKVy0UZzp9iPg9fiSgYahL4XyQ gHdNBpjrlz+chvXKbX2I0VRm4qfXpWhNQ1bv8hOyB3pjzaJCa69nF/n+HMwhiMMW+Nm1 aASk0LXozj/NH/OfwvTLivXTtcRrZpWwzKjiJIPff6eLyElBvRgdXwPMHl5pQM+JVr+N BIyZJCQqSZmqp9tu84A/qb5ivmSOGXyz4l4gl94aXujIXVvA+8YvW30UOHReLkCTk0Wb 47OQ== 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; bh=ygdLGS+o3CFJREcOCrfa1rPUTTf2CXzef1CyICbyhxA=; b=DMmeJrvOa+liGDo82lt4Boql5f1jlrub9R1bnx6kLTZwL7/Mr6oogLoh01KqKMgbzB pdhaF9GPiwCNyGZ5ItJ+8oJ6OI7/THRKUN3SjLm5U8dxrBM8Lt913CCbukcOBuvJoXQV lh6kmV4fIoQMzUMv+cQNoi5e9Xk+aWftNrgy7jDpgTEoGpKzKASyHSNAOAjZHIW7d12F +j0JgoZzOlBv3+bEiCFLgiEmcQ27PfvBMh15Cu3XYNFZUrpN+6AZG6qsWyfOXi34rKah 2XFyyV0pu5EV8o8ZJPbwijQEMZ5ZPF/C/gKCi4h3JW8LDvckFGOye2qinMgPUoYNe4Se yqaA== X-Gm-Message-State: AOAM530t7cRLG3f463MRLjSNW8rGORm6SPtlxHCwAW+cEZM46bpKn268 /MlUIk871ewLvTyTGBcbqrI= X-Google-Smtp-Source: ABdhPJw6u3uETtoH6gAkHlVzUekDaPiMLA+8QBddvaPHgV5D/9+gXWeu4VP0tcuObzIDDrONosXdIg== X-Received: by 2002:a05:620a:b1a:: with SMTP id t26mr24757910qkg.353.1600289765489; Wed, 16 Sep 2020 13:56:05 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:482:640:9cc0:878:419e:8021]) by smtp.gmail.com with ESMTPSA id q142sm20320897qke.48.2020.09.16.13.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 13:56:04 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH 09/13] ARM: imx: Remove unused IO_ADDRESS() macros Date: Wed, 16 Sep 2020 17:55:18 -0300 Message-Id: <20200916205522.8783-10-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200916205522.8783-1-festevam@gmail.com> References: <20200916205522.8783-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200916_165607_031592_5587E8AC X-CRM114-Status: GOOD ( 12.40 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:742 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [festevam[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam , arnd@arndb.de, linux-imx@nxp.com, kernel@pengutronix.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org The IO_ADDRESS() macros were used to retrieve the peripherals base address for board related code. Now that i.MX is a devicetree-only platforms, all base addresses are retrieved from devicetree and these macros are unused. Remove the unused IO_ADDRESS() macros. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/mx27.h | 1 - arch/arm/mach-imx/mx31.h | 1 - arch/arm/mach-imx/mx35.h | 1 - 3 files changed, 3 deletions(-) diff --git a/arch/arm/mach-imx/mx27.h b/arch/arm/mach-imx/mx27.h index c6f7aae02b67..d6dae9fa8610 100644 --- a/arch/arm/mach-imx/mx27.h +++ b/arch/arm/mach-imx/mx27.h @@ -112,7 +112,6 @@ #define MX27_IRAM_BASE_ADDR 0xffff4c00 /* internal ram */ #define MX27_IO_P2V(x) IMX_IO_P2V(x) -#define MX27_IO_ADDRESS(x) IOMEM(MX27_IO_P2V(x)) /* fixed interrupt numbers */ #include diff --git a/arch/arm/mach-imx/mx31.h b/arch/arm/mach-imx/mx31.h index d9574671ca5c..192499dcc792 100644 --- a/arch/arm/mach-imx/mx31.h +++ b/arch/arm/mach-imx/mx31.h @@ -117,7 +117,6 @@ #define MX31_PCMCIA_MEM_BASE_ADDR 0xbc000000 #define MX31_IO_P2V(x) IMX_IO_P2V(x) -#define MX31_IO_ADDRESS(x) IOMEM(MX31_IO_P2V(x)) /* * Interrupt numbers diff --git a/arch/arm/mach-imx/mx35.h b/arch/arm/mach-imx/mx35.h index 760de6a0af7e..4f0b939c6e03 100644 --- a/arch/arm/mach-imx/mx35.h +++ b/arch/arm/mach-imx/mx35.h @@ -116,7 +116,6 @@ #define MX35_PCMCIA_MEM_BASE_ADDR 0xbc000000 #define MX35_IO_P2V(x) IMX_IO_P2V(x) -#define MX35_IO_ADDRESS(x) IOMEM(MX35_IO_P2V(x)) /* * Interrupt numbers