From patchwork Wed Oct 29 07:46:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 5184911 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 89E389F349 for ; Wed, 29 Oct 2014 07:44:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B1AD0201FB for ; Wed, 29 Oct 2014 07:44:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE1D8201FA for ; Wed, 29 Oct 2014 07:44:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755692AbaJ2Ho2 (ORCPT ); Wed, 29 Oct 2014 03:44:28 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:36299 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755676AbaJ2Ho1 (ORCPT ); Wed, 29 Oct 2014 03:44:27 -0400 Received: by mail-pd0-f171.google.com with SMTP id r10so2472500pdi.2 for ; Wed, 29 Oct 2014 00:44:27 -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=8bCC5I6PhbV0TUH7IkFienkvVD5vCkPURoH2aUEFbQQ=; b=fhjT1jcFlGB6+Oz9cEIW+vDIOLPOcMzfi4NfgWgUCwninKgQPV1wTm5rrhAh71cRDy HdAWJ5bIv/uzXzeEBA688Xd+TSXlbCcbbBIn9HNOX6erVCKLkHg0W3ALhjtP4d1gdz0H v0WNUOsY7qwd+EOEjWcb72Iu7WyhN9LKanLIsIx5K3sQMjXgrmW6vJWinl3pRfE1oxV7 ZPUZHGnE6+wyAS/DfuNI8CFxSo9IXsH6PvwZzQN5lmNRF3hQ4zlkCNxSf/VO4A3tQFmu d5zKTuSiBnw4EFpYlHKiJLMqEvnpN1IniJV7ItSKWowAODtGf1lc6Aiuk7WNGSS8asxf WMKw== X-Received: by 10.70.102.205 with SMTP id fq13mr1422130pdb.136.1414568667178; Wed, 29 Oct 2014 00:44:27 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id ra2sm3527156pbc.27.2014.10.29.00.44.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Oct 2014 00:44:26 -0700 (PDT) From: Magnus Damm To: Magnus Damm , linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au Date: Wed, 29 Oct 2014 16:46:56 +0900 Message-Id: <20141029074656.405.76219.sendpatchset@w520> In-Reply-To: <20141029074647.405.25250.sendpatchset@w520> References: <20141029074647.405.25250.sendpatchset@w520> Subject: [PATCH 01/03] ARM: shmobile: lager-reference: DTS-only board support Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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 Remove redundant C board code for Lager Multiplatform, everything is supported via DT these days anyway so it is fine to rely on the MACHINE_START in setup-r8a7790.c. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/Kconfig | 5 --- arch/arm/mach-shmobile/Makefile | 1 arch/arm/mach-shmobile/board-lager-reference.c | 39 ------------------------ 3 files changed, 45 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 2014-10-29 16:09:12.000000000 +0900 @@ -73,11 +73,6 @@ config ARCH_R8A7794 comment "Renesas ARM SoCs Board Type" -config MACH_LAGER - bool "Lager board" - depends on ARCH_R8A7790 - select MICREL_PHY if SH_ETH - config MACH_MARZEN bool "MARZEN board" depends on ARCH_R8A7779 --- 0001/arch/arm/mach-shmobile/Makefile +++ work/arch/arm/mach-shmobile/Makefile 2014-10-29 16:09:22.000000000 +0900 @@ -56,7 +56,6 @@ obj-$(CONFIG_ARCH_SH7372) += entry-intc. # Board objects ifdef CONFIG_ARCH_SHMOBILE_MULTI -obj-$(CONFIG_MACH_LAGER) += board-lager-reference.o obj-$(CONFIG_MACH_MARZEN) += board-marzen-reference.o else obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o --- 0001/arch/arm/mach-shmobile/board-lager-reference.c +++ /dev/null 2013-06-03 21:41:10.638032047 +0900 @@ -1,39 +0,0 @@ -/* - * Lager board support - Reference DT implementation - * - * Copyright (C) 2013 Renesas Solutions Corp. - * 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 "common.h" -#include "r8a7790.h" -#include "rcar-gen2.h" - -static const char *lager_boards_compat_dt[] __initdata = { - "renesas,lager", - "renesas,lager-reference", - NULL, -}; - -DT_MACHINE_START(LAGER_DT, "lager") - .smp = smp_ops(r8a7790_smp_ops), - .init_early = shmobile_init_delay, - .init_time = rcar_gen2_timer_init, - .init_late = shmobile_init_late, - .reserve = rcar_gen2_reserve, - .dt_compat = lager_boards_compat_dt, -MACHINE_END