From patchwork Wed Jun 5 07:34:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2665871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id EFACEDF264 for ; Wed, 5 Jun 2013 07:28:52 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uk88F-0005tI-NB; Wed, 05 Jun 2013 07:27:45 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uk87w-0008Od-Pl; Wed, 05 Jun 2013 07:27:24 +0000 Received: from mail-pd0-f174.google.com ([209.85.192.174]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uk87r-0008Mb-UD for linux-arm-kernel@lists.infradead.org; Wed, 05 Jun 2013 07:27:20 +0000 Received: by mail-pd0-f174.google.com with SMTP id 10so436911pdc.33 for ; Wed, 05 Jun 2013 00:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=z6bmYZwL2zf/pynFwWAuisvDY/gL5GMmaUSMX954l1I=; b=Xd01B2k9bIzIexwuApGkFuJEws/UOVB6KckwPZJLH+lf4kUfsHVgfC+E+x2oJ8BeFO NjPyEj4QX2CrpvtJP4PpbS8MRhI9kYKUgzkl+Ez/fBjNw4K8DBK40IO+Fyfj3NO8Tk0+ nLyfg0ZjcKGjdfCKzyD9vK8ebhgV25ouo/HGTVE+gk/pVBC4TdmRzTf69MuRYiC85wjk SCSzIF1qSXn7eJIxXrfJw1pa5/G2pzuG7FjfCBgPSytxEEwaWOJJvmvS5Zse+4gnW4Y9 NNMk6jeaTR8ugfnILq9Iep7ywhPWpKml92kRdpK/oLjewEAyzVYuTnSFKbcIfdCcN317 yDhA== X-Received: by 10.66.121.132 with SMTP id lk4mr33170511pab.1.1370417218236; Wed, 05 Jun 2013 00:26:58 -0700 (PDT) Received: from [127.0.0.1] (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id ri8sm66856716pbc.3.2013.06.05.00.26.56 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 00:26:57 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Wed, 05 Jun 2013 16:34:26 +0900 Message-Id: <20130605073426.15758.89184.sendpatchset@w520> In-Reply-To: <20130605073410.15758.37563.sendpatchset@w520> References: <20130605073410.15758.37563.sendpatchset@w520> Subject: [PATCH 02/06] ARM: shmobile: AG5EVM memory size fixup X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130605_032720_118511_4DBBB823 X-CRM114-Status: GOOD ( 10.38 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.174 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (magnus.damm[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: arnd@arndb.de, Magnus Damm , horms@verge.net.au, laurent.pinchart@ideasonboard.com, olof@lixom.net, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Magnus Damm Specify the AG5EVM memory configuration via a board specific fixup callback, and also select ATAGS to make sure the callback is executed as expected. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/Kconfig | 1 + arch/arm/mach-shmobile/board-ag5evm.c | 4 ++++ 2 files changed, 5 insertions(+) --- 0001/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2013-06-04 13:18:56.000000000 +0900 @@ -92,6 +92,7 @@ endchoice config MACH_AG5EVM bool "AG5EVM board" depends on ARCH_SH73A0 + select ATAGS select ARCH_REQUIRE_GPIOLIB select REGULATOR_FIXED_VOLTAGE if REGULATOR select SH_LCD_MIPI_DSI --- 0001/arch/arm/mach-shmobile/board-ag5evm.c +++ work/arch/arm/mach-shmobile/board-ag5evm.c 2013-06-04 13:16:52.000000000 +0900 @@ -53,6 +53,7 @@ #include #include #include +#include #include /* Dummy supplies, where voltage doesn't matter */ @@ -660,7 +661,10 @@ static void __init ag5evm_init(void) platform_add_devices(ag5evm_devices, ARRAY_SIZE(ag5evm_devices)); } +SHMOBILE_FIXUP(ag5evm, 0x40000000, 0x20000000) + MACHINE_START(AG5EVM, "ag5evm") + .fixup = ag5evm_fixup, .smp = smp_ops(sh73a0_smp_ops), .map_io = sh73a0_map_io, .init_early = sh73a0_add_early_devices,