From patchwork Wed Jul 24 07:30:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2832578 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id ABA399F243 for ; Wed, 24 Jul 2013 07:31:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 91F3420274 for ; Wed, 24 Jul 2013 07:31:03 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D3552026F for ; Wed, 24 Jul 2013 07:31:02 +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 1V1tXI-0005zC-7H; Wed, 24 Jul 2013 07:31:00 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1tXG-0003Fa-2A; Wed, 24 Jul 2013 07:30:58 +0000 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V1tXD-0003F4-4I for linux-arm-kernel@lists.infradead.org; Wed, 24 Jul 2013 07:30:55 +0000 Received: by mail-pd0-f177.google.com with SMTP id u11so67906pdi.36 for ; Wed, 24 Jul 2013 00:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=MxB1YpeioIe4dZ0LBnDHNJtVEyLsBje/Y3DpOtDhJMQ=; b=hTw1KS9R1bKRY/ysaLtBo8i50jV9/PMm0u1EO3WpYnT6EFfvTR9Mcgdh8WxG8N3pNO ReLkrXwNakeDVi2lZXSj4BwlbVVcLa3/7KjE+GPSsze5a5cGxqjnVg8DMmkGXmX7NZ3o NwYAGfZFEZOfavhAZtOt5vt1Y8cIjCHMNbGi0bLK3KE2lLo3vNIWZk2ao14OVm8ZPrsL yMj+kZvGqPsYkeP4WpJrff2OBjwTUSy/YdOCMQx487dKFaM5yWiwwS9ZF6rYiV1DG++4 VjmrB8cqwKa7YGnoI9xCNjchEoUhydLQG3XVHCcOFdoO2IfELYkMoig2t2/dVIjtsnAz nB9Q== X-Received: by 10.68.99.98 with SMTP id ep2mr40018173pbb.6.1374651033623; Wed, 24 Jul 2013 00:30:33 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id yj2sm46152739pbb.40.2013.07.24.00.30.30 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Jul 2013 00:30:32 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Wed, 24 Jul 2013 16:30:42 +0900 Message-Id: <20130724073042.28351.33041.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: marzen: Switch to DT_MACHINE_START X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130724_033055_313340_4FC11A94 X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: horms@verge.net.au, Magnus Damm , 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 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Convert the marzen board to use DT_MACHINE_START. With this in place all mach-shmobile boards use DT_MACHINE_START. Also, this makes it possible for the r8a7779 SMP code to use DT for CPUs. So appended DTB is the way forward on this board. Signed-off-by: Magnus Damm --- Written on top of renesas-devel-20130724 arch/arm/mach-shmobile/board-marzen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 0001/arch/arm/mach-shmobile/board-marzen.c +++ work/arch/arm/mach-shmobile/board-marzen.c 2013-07-24 15:45:39.000000000 +0900 @@ -238,7 +238,7 @@ static void __init marzen_init(void) platform_add_devices(marzen_devices, ARRAY_SIZE(marzen_devices)); } -MACHINE_START(MARZEN, "marzen") +DT_MACHINE_START(MARZEN, "marzen") .smp = smp_ops(r8a7779_smp_ops), .map_io = r8a7779_map_io, .init_early = r8a7779_add_early_devices,