From patchwork Fri Nov 8 17:41:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1192081 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="g7CdmijA"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 478nd23bQsz9sPF for ; Sat, 9 Nov 2019 04:41:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6341386276; Fri, 8 Nov 2019 17:41:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aiPQgnXpw614; Fri, 8 Nov 2019 17:41:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BD27A86248; Fri, 8 Nov 2019 17:41:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6A1131BF990 for ; Fri, 8 Nov 2019 17:41:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 61641864DF for ; Fri, 8 Nov 2019 17:41:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l4yz1Hc4YPwg for ; Fri, 8 Nov 2019 17:41:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay-out1.synopsys.com (dc8-smtprelay2.synopsys.com [198.182.47.102]) by whitealder.osuosl.org (Postfix) with ESMTPS id ACB29864FB for ; Fri, 8 Nov 2019 17:41:19 +0000 (UTC) Received: from mailhost.synopsys.com (sv1-mailhost2.synopsys.com [10.205.2.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 014D9C0DF1; Fri, 8 Nov 2019 17:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1573234879; bh=ZW7ClywPQ5mavJ/X95T8QJUJqFbD05UvbL6E/HUfpbw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g7CdmijAg4p6o9yskfaeAHACr65uquXuLIxB+ghK6zUzQtcgahSNPOkLKKfIWc1ie Pv1jn+LXkNg0LjmG6JTCAOjVAvVS0FaifijGmv04F9NdkJf0LpE4CsqfRdByd+BWYM oCtSuHPkg2tv9kBkPv/pIdIqUbbeKhlzRoJS5wOpTAW5fOORz9KnEbS8DOrNGqoISy W4nX1zK/byrQG/8vFp9IvHjsyt/vmXnPgSK4dY6aPSp6EGgyvo63WSQUVN2ScTwcOq vo9lMW/GSmMtyEzEB9kypSYyvA/xWrMBxTGutLRzDfShKe/lavaqJgPurW1y28bWQt RqGisCqfkOHpg== Received: from vineetg-Latitude-E7450.internal.synopsys.com (vineetg-latitude-e7450.internal.synopsys.com [10.10.161.28]) by mailhost.synopsys.com (Postfix) with ESMTP id D5C49A00A8; Fri, 8 Nov 2019 17:41:18 +0000 (UTC) From: Vineet Gupta To: buildroot@busybox.net Date: Fri, 8 Nov 2019 09:41:11 -0800 Message-Id: <20191108174112.28183-3-vgupta@synopsys.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191108174112.28183-1-vgupta@synopsys.com> References: <20191108174112.28183-1-vgupta@synopsys.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] arch/config.in.arc: Introduce ARC ISA toggle to ease downstream toggles X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Evgeniy.Didin@synopsys.com, Vineet Gupta , linux-snps-arc@lists.infradead.org, Alexey.Brodkin@synopsys.com Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Vineet Gupta --- arch/Config.in.arc | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/Config.in.arc b/arch/Config.in.arc index 284951b82cee..dbc608db39c6 100644 --- a/arch/Config.in.arc +++ b/arch/Config.in.arc @@ -1,3 +1,18 @@ +choice + prompt "Target ISA" + default BR2_arcompact + depends on BR2_arc + help + Specific ARC ISA to use + +config BR2_arcompact + bool "ARCompact ISA" + +config BR2_arcv2 + bool "ARCv2 ISA" + +endchoice + choice prompt "Target CPU" default BR2_arc770d @@ -7,12 +22,15 @@ choice config BR2_arc750d bool "ARC 750D" + depends on BR2_arcompact config BR2_arc770d bool "ARC 770D" + depends on BR2_arcompact config BR2_archs bool "ARC HS38" + depends on BR2_arcv2 help Generic ARC HS capable of running Linux, i.e. with MMU, caches and 32-bit multiplier. Also it corresponds to the default @@ -20,6 +38,7 @@ config BR2_archs config BR2_archs38 bool "ARC HS38 with 64-bit mpy" + depends on BR2_arcv2 help Fully featured ARC HS capable of running Linux, i.e. with MMU, caches and 64-bit multiplier. @@ -29,6 +48,7 @@ config BR2_archs38 config BR2_archs38_full bool "ARC HS38 with Quad MAC & FPU" + depends on BR2_arcv2 help Fully featured ARC HS with additional support for - Dual- and quad multiply and MC oprations @@ -39,6 +59,7 @@ config BR2_archs38_full config BR2_archs4x_rel31 bool "ARC HS48 rel 31" + depends on BR2_arcv2 help Latest release of HS48 processor - Dual- and quad multiply and MC oprations @@ -72,8 +93,8 @@ config BR2_GCC_TARGET_CPU default "hs4x_rel31" if BR2_archs4x_rel31 config BR2_READELF_ARCH_NAME - default "ARCompact" if BR2_arc750d || BR2_arc770d - default "ARCv2" if BR2_archs || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31 + default "ARCompact" if BR2_arcompact + default "ARCv2" if BR2_arcv2 choice prompt "MMU Page Size"