From patchwork Wed Jul 17 20:31:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2828986 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 757F49F9EE for ; Wed, 17 Jul 2013 20:33:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4AC32202F0 for ; Wed, 17 Jul 2013 20:33:04 +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 EE5C8202E5 for ; Wed, 17 Jul 2013 20:33: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 1UzYO1-0004IJ-7z; Wed, 17 Jul 2013 20:31:46 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UzYNn-0007VM-03; Wed, 17 Jul 2013 20:31:31 +0000 Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UzYNg-0007S6-JO for linux-arm-kernel@lists.infradead.org; Wed, 17 Jul 2013 20:31:25 +0000 Received: by mail-pd0-f171.google.com with SMTP id y14so2227428pdi.16 for ; Wed, 17 Jul 2013 13:31:02 -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=wq7RA+8YqL6PGjcCeSABN4Pt7xnYzD4e/AreHkxVAxo=; b=sby7yxUwvC8GeSqv58lnf0DMZChGVDgHZGOMlXaiELdYvJ0Ox5MEK9OZKx8KclYVHP IKR6dZ5vD3dahFprUz+nM3RKFwgG1cH5PB9ACC3eEZLh4Sq6YBBV2Hnv/fxlQV8v2TzG XnBf7DV5SAJ8U7/iIXYue7vOh1L7NZjCofqLkDMFQs2Djlj4AVQJHIFGN/eokgqM43HW XvwA1L58kjZCguh/JMl+jM9j2hTnetPw9KOUDwl3BW2OKSCWbcA921d/cJspMTMRJ75x LUs9PBnWucfFVSusdQzDp/a6NESC1zV+fRdFJKe4UEYcZFHyTSTHlVkMfhtZB7/alo8S CeqQ== X-Received: by 10.66.193.166 with SMTP id hp6mr9721631pac.118.1374093062427; Wed, 17 Jul 2013 13:31:02 -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 zv11sm12318217pab.3.2013.07.17.13.30.59 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jul 2013 13:31:01 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Thu, 18 Jul 2013 05:31:09 +0900 Message-Id: <20130717203109.27542.77708.sendpatchset@w520> In-Reply-To: <20130717203049.27542.78385.sendpatchset@w520> References: <20130717203049.27542.78385.sendpatchset@w520> Subject: [PATCH 02/04] ARM: shmobile: Introduce ARCH_SHMOBILE_MULTI X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130717_163124_817143_FDEA6FFC X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: arnd@arndb.de, Magnus Damm , horms@verge.net.au, laurent.pinchart@ideasonboard.com, olof@lixom.net, shinya.kuribayashi.px@renesas.com, 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.5 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=unavailable 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 Add ARCH_SHMOBILE_MULTI to mach-shmobile that can be used to enable ARCH_MULTIPLATFORM on selected SoCs and boards. The headers stay under arch/arm/mach-shmobile/include/mach/ for now, they can and will be migrated independently over time. Signed-off-by: Magnus Damm --- arch/arm/Makefile | 1 + arch/arm/mach-shmobile/Kconfig | 21 +++++++++++++++++++++ arch/arm/mach-shmobile/Makefile | 2 ++ 3 files changed, 24 insertions(+) --- 0001/arch/arm/Makefile +++ work/arch/arm/Makefile 2013-07-08 19:17:00.000000000 +0900 @@ -181,6 +181,7 @@ machine-$(CONFIG_ARCH_EXYNOS) += exynos machine-$(CONFIG_ARCH_SA1100) += sa1100 machine-$(CONFIG_ARCH_SHARK) += shark machine-$(CONFIG_ARCH_SHMOBILE) += shmobile +machine-$(CONFIG_ARCH_SHMOBILE_MULTI) += shmobile machine-$(CONFIG_ARCH_TEGRA) += tegra machine-$(CONFIG_ARCH_U300) += u300 machine-$(CONFIG_ARCH_U8500) += ux500 --- 0002/arch/arm/mach-shmobile/Kconfig +++ work/arch/arm/mach-shmobile/Kconfig 2013-07-08 19:19:21.000000000 +0900 @@ -1,3 +1,24 @@ +config ARCH_SHMOBILE_MULTI + bool "SH-Mobile Series" if ARCH_MULTI_V7 + depends on MMU + select CPU_V7 + select GENERIC_CLOCKEVENTS + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if LOCAL_TIMERS + select HAVE_SMP + select ARM_GIC + select MIGHT_HAVE_CACHE_L2X0 + select NO_IOPORT + select PINCTRL + select ARCH_REQUIRE_GPIOLIB + select CLKDEV_LOOKUP + +if ARCH_SHMOBILE_MULTI + +comment "SH-Mobile System Type" + +endif + if ARCH_SHMOBILE comment "SH-Mobile System Type" --- 0003/arch/arm/mach-shmobile/Makefile +++ work/arch/arm/mach-shmobile/Makefile 2013-07-08 19:18:20.000000000 +0900 @@ -2,6 +2,8 @@ # Makefile for the linux kernel. # +ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/mach-shmobile/include + # Common objects obj-y := timer.o console.o