From patchwork Thu Feb 9 03:30:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Brandt X-Patchwork-Id: 9563989 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DA89A60236 for ; Thu, 9 Feb 2017 03:53:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40A832848B for ; Thu, 9 Feb 2017 03:53:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 335A728512; Thu, 9 Feb 2017 03:53:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC2B82848B for ; Thu, 9 Feb 2017 03:53:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751355AbdBIDxj (ORCPT ); Wed, 8 Feb 2017 22:53:39 -0500 Received: from relmlor4.renesas.com ([210.160.252.174]:61173 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751055AbdBIDxh (ORCPT ); Wed, 8 Feb 2017 22:53:37 -0500 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 09 Feb 2017 12:31:31 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 9A20B420C4; Thu, 9 Feb 2017 12:31:31 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 8D39F18070; Thu, 9 Feb 2017 12:31:31 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 865111806F; Thu, 9 Feb 2017 12:31:31 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac3.idc.renesas.com with ESMTP id NAE05336; Thu, 9 Feb 2017 12:31:31 +0900 X-IronPort-AV: E=Sophos;i="5.35,349,1483974000"; d="scan'208";a="234000512" Received: from unknown (HELO rtamta01.rta.renesas.com) ([143.103.48.75]) by relmlii2.idc.renesas.com with ESMTP; 09 Feb 2017 12:31:30 +0900 Received: from localhost.localdomain (unknown [143.103.58.148]) by rtamta01.rta.renesas.com (Postfix) with ESMTP id CB48938A; Thu, 9 Feb 2017 03:31:25 +0000 (UTC) From: Chris Brandt To: Russell King , Simon Horman , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org Cc: linux-renesas-soc@vger.kernel.org, Chris Brandt Subject: [PATCH 2/2] ARM: shmobile: add renesas soc as a top level selection Date: Wed, 8 Feb 2017 22:30:44 -0500 Message-Id: <20170209033044.19513-3-chris.brandt@renesas.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20170209033044.19513-1-chris.brandt@renesas.com> References: <20170209033044.19513-1-chris.brandt@renesas.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allows users to select "Renesas ARM SoCs" as opposed to multiplatform. ARM_SINGLE_ARMV7 is then selected to help with the behind the scenes work in the build scripts. Signed-off-by: Chris Brandt --- arch/arm/Kconfig | 4 ++++ arch/arm/mach-shmobile/Kconfig | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 36107e7..9c468dd 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -359,6 +359,10 @@ config ARCH_MULTIPLATFORM select SPARSE_IRQ select USE_OF +config ARM_SOC_RENESAS_V7 + bool "Renesas ARM SoCs" + select ARM_SINGLE_ARMV7 + config ARM_SINGLE_ARMV7M bool "ARMv7-M based platforms (Cortex-M0/M3/M4)" depends on !MMU diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index ad7d604..1317aea 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig @@ -31,7 +31,7 @@ config ARCH_RMOBILE menuconfig ARCH_RENESAS bool "Renesas ARM SoCs" - depends on ARCH_MULTI_V7 && MMU + depends on (ARCH_MULTI_V7 || ARM_SOC_RENESAS_V7) && MMU select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE select ARCH_SHMOBILE select ARCH_SHMOBILE_MULTI