From patchwork Wed Jun 5 07:34:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2665881 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 BAE3DDF264 for ; Wed, 5 Jun 2013 07:29:31 +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 1Uk88V-0005wX-C9; Wed, 05 Jun 2013 07:28:01 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uk883-0008Pa-LW; Wed, 05 Jun 2013 07:27:31 +0000 Received: from mail-pd0-f182.google.com ([209.85.192.182]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uk880-0008N1-Bs for linux-arm-kernel@lists.infradead.org; Wed, 05 Jun 2013 07:27:29 +0000 Received: by mail-pd0-f182.google.com with SMTP id g10so1417495pdj.27 for ; Wed, 05 Jun 2013 00:27:06 -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=zY5ne2w6p5wVCgbD8o47rDeUHNQX9ioeL8TMPLVVWEo=; b=JJHRoXb/cThauj4wmIYwrZDZtaqkLu2OIO9WQx+o58P08DPkg2LZCe+9NaXLgRJECP oj0HO/eSPxncXbtSd/1dLIgElkkteZHBQUx+VKt/CNNI3Ci02NnC4GWDrhliQ59BSy7L JzY+IFV5h9J983pux2Bzp5QPx4bLiNMb4868McJ2hNgSjTDJhPu4v40vy+6JvMrmcmFy Ue7wsRK7zHaGhhVAFitSdruvmGItbJ+/lppV3K94kvdrBeubFFiL1O6mSPFM2lyi1aTf wDqnuXd2syfmlQd7d3R/M63JLgqlQvw4D3fHFw2qK9w0Bqsh/RcSRmRofHFyOzMW3S3r fOig== X-Received: by 10.66.252.195 with SMTP id zu3mr5984841pac.185.1370417226188; Wed, 05 Jun 2013 00:27:06 -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 eq5sm18715645pbc.15.2013.06.05.00.27.04 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 00:27:05 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Wed, 05 Jun 2013 16:34:34 +0900 Message-Id: <20130605073434.15758.45857.sendpatchset@w520> In-Reply-To: <20130605073410.15758.37563.sendpatchset@w520> References: <20130605073410.15758.37563.sendpatchset@w520> Subject: [PATCH 03/06] ARM: shmobile: AP4EVB memory size fixup X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130605_032728_529177_ECC150C0 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. 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.182 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 AP4EVB 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-ap4evb.c | 3 +++ 2 files changed, 4 insertions(+) --- 0005/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2013-06-04 15:08:32.000000000 +0900 @@ -71,6 +71,7 @@ comment "SH-Mobile Board Type" config MACH_AP4EVB bool "AP4EVB board" depends on ARCH_SH7372 + select ATAGS select ARCH_REQUIRE_GPIOLIB select REGULATOR_FIXED_VOLTAGE if REGULATOR select SH_LCD_MIPI_DSI --- 0001/arch/arm/mach-shmobile/board-ap4evb.c +++ work/arch/arm/mach-shmobile/board-ap4evb.c 2013-06-04 15:08:17.000000000 +0900 @@ -1321,7 +1321,10 @@ static void __init ap4evb_init(void) pm_clk_add(&lcdc1_device.dev, "hdmi"); } +SHMOBILE_FIXUP(ap4evb, 0x40000000, 0x10000000) + MACHINE_START(AP4EVB, "ap4evb") + .fixup = ap4evb_fixup, .map_io = sh7372_map_io, .init_early = sh7372_add_early_devices, .init_irq = sh7372_init_irq,