From patchwork Wed May 13 10:53:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 48427 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C268A2121F for ; Wed, 13 May 2015 10:55:34 +0000 (UTC) Received: by wgvl6 with SMTP id l6sf7552397wgv.2 for ; Wed, 13 May 2015 03:55:34 -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=mk7Nyrv81sxLtNRFWGypaAQlhI1w9zuJRU4POS1dNBQ=; b=InTa3adGhWsQFcVRx3Jzkw69VH2ngia/mSulEW3F0LwSmvzZCAzjrUcAEoPS2R9bux wYZc9DCvHfosOOZgJkv1YvYClgY45kwaI/siro3fr4kFkMHiKQzFUiWEwygLk0SvNb2P 5PyhVazFzj/sxERboOJE/awOrVAVOf+lTUdsAiyQ1kL/Y1qVo2K5qRhwiUYxhvOTrj91 z5nDwwyBa+TC/apa40JtOp/BTurEnMNomMvyKmE60CJXkecU/JiIaPhGAc1v3qPW8GXe a3mLDfbP6CT/7GT/R3pdoZ3WQA8lHGfRS1PdBYjhSWHfIWFAvJey9MkQBdwWq9iBvb9A E9YQ== X-Gm-Message-State: ALoCoQnv5bR6ysr9f4Wp9/8SNbDxVa4BOVW3iL9vjmt3o8+8ougSdbg4vjTcw/lVFQCc+qEIdcDS X-Received: by 10.194.5.229 with SMTP id v5mr13904411wjv.0.1431514534093; Wed, 13 May 2015 03:55:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.70 with SMTP id 6ls187547las.14.gmail; Wed, 13 May 2015 03:55:33 -0700 (PDT) X-Received: by 10.112.142.232 with SMTP id rz8mr14989169lbb.74.1431514533919; Wed, 13 May 2015 03:55:33 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id q10si12150660laq.33.2015.05.13.03.55.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2015 03:55:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbbzk7 with SMTP id zk7so26556761lbb.0 for ; Wed, 13 May 2015 03:55:33 -0700 (PDT) X-Received: by 10.112.222.133 with SMTP id qm5mr15627789lbc.86.1431514533781; Wed, 13 May 2015 03:55:33 -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.108.230 with SMTP id hn6csp453277lbb; Wed, 13 May 2015 03:55:32 -0700 (PDT) X-Received: by 10.68.65.110 with SMTP id w14mr36537209pbs.93.1431514531616; Wed, 13 May 2015 03:55:31 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id qu16si26564027pab.222.2015.05.13.03.55.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2015 03:55:31 -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 1YsUIH-00084M-Tj; Wed, 13 May 2015 10:53:41 +0000 Received: from mail-la0-f46.google.com ([209.85.215.46]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YsUIA-0007u3-0E for linux-arm-kernel@lists.infradead.org; Wed, 13 May 2015 10:53:34 +0000 Received: by lagv1 with SMTP id v1so26277923lag.3 for ; Wed, 13 May 2015 03:53:11 -0700 (PDT) X-Received: by 10.152.116.102 with SMTP id jv6mr15433698lab.50.1431514391469; Wed, 13 May 2015 03:53:11 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id u15sm4850923lal.4.2015.05.13.03.53.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2015 03:53:10 -0700 (PDT) From: Linus Walleij To: arm@kernel.org Subject: [PATCH] ARM: ux500: get rid of static maps Date: Wed, 13 May 2015 12:53:07 +0200 Message-Id: <1431514387-26209-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-20150513_035334_243557_B5B37BC0 X-CRM114-Status: GOOD ( 10.80 ) 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.215.46 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.215.46 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Linus Walleij , linux-arm-kernel@lists.infradead.org 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.179 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 --- Hi ARM SoC-guys: please apply this single clean-up patch directly to the ARM SoC-tree where apropriate. --- 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 */