From patchwork Mon Apr 20 13:13:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 47355 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 99DE42121F for ; Mon, 20 Apr 2015 13:16:43 +0000 (UTC) Received: by wicmx19 with SMTP id mx19sf10710709wic.3 for ; Mon, 20 Apr 2015 06:16:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=76Y+0XaSgViDCnMsRe45yjmNLf27xp6dFrbLJt++pvw=; b=ISIY3MDE1Z/IgoXwWx2mZu1K5uSdc6OBqFvA7nrlISWVjwWvpiSNpyGiw/RH8VRLE0 2DXu2SjFjkP9X7f+3dII4u+Hirouw99K1ZnfhZ3VNlaq3OXU0WbC1qq1iJn1xAgVMoko m08NwC220FsYoPPc5vNMbHWIC2t8rMc8yrmWXuQuGujqvubaQhByLEFpAOGxi67r9hNF bpMtPuSgJpChSq/FQbVquvKWybSWJCbADPmPMFBl+gzQJeqvHTO0dsfNz6hVzE5IDtGp WGVNiOu20KSTVY9eChvwv8tQG9MVJW0uihZ80SNHeeiWaK6hVhp2MJFPjyAOtqI8M+SI Thrg== X-Gm-Message-State: ALoCoQk74wC4swEtq89IrHGeoRBn1MJQ5MJN6MVsCi17iB3RnUz4e64HLa6WzM1jPy/P4QNVQ2KR X-Received: by 10.180.85.129 with SMTP id h1mr6019285wiz.6.1429535802955; Mon, 20 Apr 2015 06:16:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.111 with SMTP id v15ls821569lal.5.gmail; Mon, 20 Apr 2015 06:16:42 -0700 (PDT) X-Received: by 10.152.23.163 with SMTP id n3mr3861011laf.34.1429535802797; Mon, 20 Apr 2015 06:16:42 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id pc6si14973950lbc.178.2015.04.20.06.16.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 06:16:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbbzk7 with SMTP id zk7so130253389lbb.0 for ; Mon, 20 Apr 2015 06:16:42 -0700 (PDT) X-Received: by 10.112.16.196 with SMTP id i4mr15393171lbd.72.1429535802348; Mon, 20 Apr 2015 06:16:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp15946lbt; Mon, 20 Apr 2015 06:16:41 -0700 (PDT) X-Received: by 10.69.31.171 with SMTP id kn11mr28225372pbd.159.1429535800654; Mon, 20 Apr 2015 06:16:40 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id pv2si4317892pdb.78.2015.04.20.06.16.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 06:16:40 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YkBXe-0006yF-43; Mon, 20 Apr 2015 13:15:14 +0000 Received: from mail-lb0-f178.google.com ([209.85.217.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YkBWo-0006Ju-EJ for linux-arm-kernel@lists.infradead.org; Mon, 20 Apr 2015 13:14:25 +0000 Received: by lbbuc2 with SMTP id uc2so130143812lbb.2 for ; Mon, 20 Apr 2015 06:14:00 -0700 (PDT) X-Received: by 10.112.147.201 with SMTP id tm9mr15718615lbb.40.1429535640413; Mon, 20 Apr 2015 06:14:00 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id k12sm4311817lbg.42.2015.04.20.06.13.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2015 06:13:59 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/5] ARM: ux500: get rid of static maps Date: Mon, 20 Apr 2015 15:13:55 +0200 Message-Id: <1429535635-9267-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150420_061422_724010_07F56EB1 X-CRM114-Status: GOOD ( 10.38 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.217.178 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.217.178 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Linus Walleij X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The static mappings of the GPIO blocks, clock/reset controller and MTU timer are clearly superfluous. These are all probed exclusively from the device tree. Tested on the U8500. Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/cpu-db8500.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index 6f63954c8bde..537a7753afc1 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -48,25 +48,14 @@ static struct map_desc u8500_uart_io_desc[] __initdata = { __IO_DEV_DESC(U8500_UART0_BASE, SZ_4K), __IO_DEV_DESC(U8500_UART2_BASE, SZ_4K), }; + /* U8500 and U9540 common io_desc */ static struct map_desc u8500_common_io_desc[] __initdata = { /* SCU base also covers GIC CPU BASE and TWD with its 4K page */ __IO_DEV_DESC(U8500_SCU_BASE, SZ_4K), __IO_DEV_DESC(U8500_GIC_DIST_BASE, SZ_4K), __IO_DEV_DESC(U8500_L2CC_BASE, SZ_4K), - __IO_DEV_DESC(U8500_MTU0_BASE, SZ_4K), __IO_DEV_DESC(U8500_BACKUPRAM0_BASE, SZ_8K), - - __IO_DEV_DESC(U8500_CLKRST1_BASE, SZ_4K), - __IO_DEV_DESC(U8500_CLKRST2_BASE, SZ_4K), - __IO_DEV_DESC(U8500_CLKRST3_BASE, SZ_4K), - __IO_DEV_DESC(U8500_CLKRST5_BASE, SZ_4K), - __IO_DEV_DESC(U8500_CLKRST6_BASE, SZ_4K), - - __IO_DEV_DESC(U8500_GPIO0_BASE, SZ_4K), - __IO_DEV_DESC(U8500_GPIO1_BASE, SZ_4K), - __IO_DEV_DESC(U8500_GPIO2_BASE, SZ_4K), - __IO_DEV_DESC(U8500_GPIO3_BASE, SZ_4K), }; /* U8500 IO map specific description */