From patchwork Wed Feb 18 02:38:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 5842551 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5D0889F373 for ; Wed, 18 Feb 2015 02:38:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AB7BF20155 for ; Wed, 18 Feb 2015 02:38:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C7A6D20149 for ; Wed, 18 Feb 2015 02:38:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751595AbbBRCif (ORCPT ); Tue, 17 Feb 2015 21:38:35 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:39544 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751573AbbBRCif (ORCPT ); Tue, 17 Feb 2015 21:38:35 -0500 Received: by pablf10 with SMTP id lf10so10999417pab.6 for ; Tue, 17 Feb 2015 18:38:34 -0800 (PST) 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=CqC5o1wNyMaruF8XuyfrLkX6QPLQrRMDsamuGn8J3Nk=; b=MpPUPq4QwptN/Qaa3pJAdlcvCQN0rDRSWiu8F/RtjVN7xrmjsNZCoeWoaNTLNv3z9z cTf0uyUT5almOn5XhXG0064nesAWST45TA3eYzyDOAvz/CiPHQ6YJlzBh2sde7Bsc1Ja aI7XxUEcBuhrAmihX2c2Yvf7Gsclhu8fU04mYUtjw3pFbsDu/RY7kna9DDxktNxcTcIK H6702rPJAMnZxDrp7RjoGXEGMg7Tnw8jKPYab6UUjkkbZXmoG4GpFBQToYch+fHAk2ff OTBwusfDEkITvMbu3VyLD4Q3GJx0eBnqUduAfMtoC6UY3Dcs3Bwr/9bYMWZzXRrNdBE7 SLyA== X-Received: by 10.70.36.75 with SMTP id o11mr51120536pdj.107.1424227114640; Tue, 17 Feb 2015 18:38:34 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id pa6sm9089627pac.45.2015.02.17.18.38.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Feb 2015 18:38:33 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be Date: Wed, 18 Feb 2015 11:38:53 +0900 Message-Id: <20150218023853.12588.57588.sendpatchset@little-apple> In-Reply-To: <20150218023812.12588.9023.sendpatchset@little-apple> References: <20150218023812.12588.9023.sendpatchset@little-apple> Subject: [PATCH 04/05] ARM: shmobile: marzen-reference: Remove C board code Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 The generic r8a7779 machine vector is now feature-wise equivalent to the Marzen-reference case, so simply remove the Marzen C board code to fall over on the generic r8a7779 machine vector. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/Kconfig | 7 --- arch/arm/mach-shmobile/Makefile | 2 arch/arm/mach-shmobile/board-marzen-reference.c | 49 ----------------------- 3 files changed, 58 deletions(-) -- 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 --- 0001/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2015-02-17 02:31:26.496199165 +0900 @@ -84,13 +84,6 @@ config ARCH_SH73A0 select ARCH_RMOBILE select RENESAS_INTC_IRQPIN -comment "Renesas ARM SoCs Board Type" - -config MACH_MARZEN - bool "MARZEN board" - depends on ARCH_R8A7779 - select REGULATOR_FIXED_VOLTAGE if REGULATOR - comment "Renesas ARM SoCs System Configuration" endif --- 0001/arch/arm/mach-shmobile/Makefile +++ work/arch/arm/mach-shmobile/Makefile 2015-02-17 02:29:29.276199586 +0900 @@ -51,8 +51,6 @@ obj-$(CONFIG_PM_RMOBILE) += pm-rmobile.o # Board objects ifdef CONFIG_ARCH_SHMOBILE_MULTI -obj-$(CONFIG_MACH_MARZEN) += board-marzen-reference.o -else obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o obj-$(CONFIG_MACH_APE6EVM_REFERENCE) += board-ape6evm-reference.o obj-$(CONFIG_MACH_BOCKW) += board-bockw.o --- 0002/arch/arm/mach-shmobile/board-marzen-reference.c +++ /dev/null 2015-01-13 15:44:39.280208949 +0900 @@ -1,49 +0,0 @@ -/* - * marzen board support - Reference DT implementation - * - * Copyright (C) 2011 Renesas Solutions Corp. - * Copyright (C) 2011 Magnus Damm - * Copyright (C) 2013 Simon Horman - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#include -#include -#include - -#include -#include - -#include "common.h" -#include "irqs.h" -#include "r8a7779.h" - -static void __init marzen_init_timer(void) -{ - r8a7779_clocks_init(r8a7779_read_mode_pins()); - clocksource_of_init(); -} - -static const char *marzen_boards_compat_dt[] __initdata = { - "renesas,marzen", - "renesas,marzen-reference", - NULL, -}; - -DT_MACHINE_START(MARZEN, "marzen") - .smp = smp_ops(r8a7779_smp_ops), - .map_io = r8a7779_map_io, - .init_early = shmobile_init_delay, - .init_time = marzen_init_timer, - .init_irq = r8a7779_init_irq_dt, - .init_late = shmobile_init_late, - .dt_compat = marzen_boards_compat_dt, -MACHINE_END