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: 2665821 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 636923FD4F for ; Wed, 5 Jun 2013 07:27:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752455Ab3FEH1I (ORCPT ); Wed, 5 Jun 2013 03:27:08 -0400 Received: from mail-pb0-f52.google.com ([209.85.160.52]:53522 "EHLO mail-pb0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752309Ab3FEH1G (ORCPT ); Wed, 5 Jun 2013 03:27:06 -0400 Received: by mail-pb0-f52.google.com with SMTP id xa12so1388469pbc.39 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 Cc: arnd@arndb.de, horms@verge.net.au, laurent.pinchart@ideasonboard.com, olof@lixom.net, Magnus Damm , linux-arm-kernel@lists.infradead.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 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.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(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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,