From patchwork Fri Jun 24 10:49:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102088 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp880424qgy; Fri, 24 Jun 2016 03:49:47 -0700 (PDT) X-Received: by 10.98.97.193 with SMTP id v184mr6113931pfb.138.1466765387713; Fri, 24 Jun 2016 03:49:47 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id x9si6234714pfj.106.2016.06.24.03.49.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jun 2016 03:49:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bGOfT-0004pE-ED; Fri, 24 Jun 2016 10:48:59 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bGOfE-0004d3-G5 for linux-arm-kernel@lists.infradead.org; Fri, 24 Jun 2016 10:48:45 +0000 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue104) with ESMTPA (Nemesis) id 0M1od8-1bWXYn1BuM-00tlBU; Fri, 24 Jun 2016 12:48:11 +0200 From: Arnd Bergmann To: Shawn Guo Subject: [PATCH 0/6] kill off cpu_is_mx*() Date: Fri, 24 Jun 2016 12:49:55 +0200 Message-Id: <20160624105001.3166287-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:sACp6BtpYn1Nur8wRYNAmOzgnU3ZOzU+IuORe6WcSvKJjnzd5nW V9cpjCotgWbTjEfw633TbGJUeWK2t8vjJGFPOa/Ifw4InNeK7q9mhtN84ZZjCDlgRpQ1DlV uxSPH0mNfNg47HSd4e3B6Dys+aTrNhETv0i5JFxy+/OOjm6PjSzd/p6fJngy9BzGseP2Mtr qqcGP7G2UVw/i59Otnyng== X-UI-Out-Filterresults: notjunk:1; V01:K0:jFGAR9kZDkA=:ISzuU39JrOZjqMCfjvlGND FXvnZrQ03NR4AmIi7IG4OuugVWV2bTRDtlVkHV9EUjwynRqzDI6g4xOYg1A9gW8HWqK8SIFcZ K2L8FG+33yT2XT26xIbSmZhSFS1QGDzVLLU2AkT+G/LOTXlP3MqEObIgLbU8NK9A1doZO+X+F +m9YzhpJ02ktVOEI1sxvJeMAfSV848roxQulZCfAX/EUhUqArqa0szWEKIEjnDYph8PoGm3c+ 3vFRanlF4ieEZYMj92SRJA9+m0cQIIY8l+WSWIZjVB/osEqXZGX59MSvz4NR/lftA2X3B97PK nZW/DvdDLdyJljmkN6Gy405UPY75PVYxfECddhkFvJ2reQV6fzalyAshX8IptOwcMTf5e/OBK ANtCMbLI+Deyhs7kzz0otxKf5WstHDJGiaRwrim48s0Q66xntDRJ+NeB+1UCdLIaP+2TkwAD/ U5Gbed/ory0Jf6+WqJvfrFPJmn8AgWzxiHRe9+e4zDWK2+opQpty0eNbsHT2oQnot2anY6aj9 xQ3N+L93eRxDbG6m9Ol3AAEf0dnFtBKGwTKqZJfQl/N0J71zd0mVjOM/wbWe+8dZNzDCvXySW OZMkpxUDiTHInQHwYtrtxA2A+7S23Tp4yX73x1dGfcPv57pzPCyLE7R1wSRMzaPYwvnhGb4Rs NCcnHhNb5Q+BAcT0EQESZI+eq4taFydoYOMe+RXfS6v7iOnAfmCWn3zysC5vQcX4DbgU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160624_034845_058218_82AA71B2 X-CRM114-Status: GOOD ( 10.46 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.17.13 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.13 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , Arnd Bergmann , Sascha Hauer , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org I noticed that i.MX still uses the traditional cpu_is_* functions to tell the difference between various SoC families, but every single user of those can be replaced with a simpler way, so we can just remove it all. Please review and apply for 4.8 if it looks good to you. Arnd Bergmann (6): ARM: imx: remove cpu_is_mx1 check ARM: imx: deconstruct mxc_rnga initialization ARM: imx: deconstruct mx3_idle ARM: imx: rework mx27_pm_init() call ARM: imx: remove last call to cpu_is_mx5* ARM: imx: remove cpu_is_mx*() arch/arm/mach-imx/Kconfig | 4 - arch/arm/mach-imx/Makefile | 4 +- arch/arm/mach-imx/common.h | 2 + arch/arm/mach-imx/cpu-imx5.c | 8 -- arch/arm/mach-imx/cpu.c | 2 - arch/arm/mach-imx/devices/Kconfig | 4 - arch/arm/mach-imx/devices/platform-mxc_rnga.c | 53 -------------- arch/arm/mach-imx/imx27-dt.c | 1 + arch/arm/mach-imx/imx31-dt.c | 12 +++ arch/arm/mach-imx/mm-imx1.c | 2 +- arch/arm/mach-imx/mm-imx27.c | 2 + arch/arm/mach-imx/mm-imx3.c | 32 +++++++- arch/arm/mach-imx/mxc.h | 101 -------------------------- arch/arm/mach-imx/pm-imx27.c | 8 +- arch/arm/mach-imx/pm-imx3.c | 38 ---------- arch/arm/mach-imx/system.c | 16 ++-- 16 files changed, 58 insertions(+), 231 deletions(-) delete mode 100644 arch/arm/mach-imx/devices/platform-mxc_rnga.c delete mode 100644 arch/arm/mach-imx/pm-imx3.c -- 2.9.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel