From patchwork Mon Jul 10 13:36:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Brodkin X-Patchwork-Id: 786200 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x5mTq73Mqz9s0Z for ; Mon, 10 Jul 2017 23:37:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7BFD988982; Mon, 10 Jul 2017 13:36:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zE5uJ5W-nMKN; Mon, 10 Jul 2017 13:36:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id D671288911; Mon, 10 Jul 2017 13:36:57 +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 49BD31C037C for ; Mon, 10 Jul 2017 13:36:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 429708673C for ; Mon, 10 Jul 2017 13:36:56 +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 TtkRj-A12zqh for ; Mon, 10 Jul 2017 13:36:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay.synopsys.com (smtprelay2.synopsys.com [198.182.60.111]) by whitealder.osuosl.org (Postfix) with ESMTPS id AD56A8627A for ; Mon, 10 Jul 2017 13:36:55 +0000 (UTC) Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 060A310C0DE9; Mon, 10 Jul 2017 06:36:54 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id BD0C7AB3; Mon, 10 Jul 2017 06:36:54 -0700 (PDT) Received: from ru20arcgnu1.internal.synopsys.com (ru20arcgnu1.internal.synopsys.com [10.121.9.48]) by mailhost.synopsys.com (Postfix) with ESMTP id 87F9BA99; Mon, 10 Jul 2017 06:36:53 -0700 (PDT) From: Alexey Brodkin To: buildroot@busybox.net Date: Mon, 10 Jul 2017 16:36:50 +0300 Message-Id: <20170710133650.8692-1-abrodkin@synopsys.com> X-Mailer: git-send-email 2.11.0 Cc: Thomas Petazzoni , Alexey Brodkin Subject: [Buildroot] [PATCH] ARC: Add support for ARC HS38 with Hardware Floating Point X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Alexey Brodkin --- arch/Config.in.arc | 10 +++++++--- package/uclibc/Config.in | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/Config.in.arc b/arch/Config.in.arc index 7d341f3136..d0e2286557 100644 --- a/arch/Config.in.arc +++ b/arch/Config.in.arc @@ -14,12 +14,15 @@ config BR2_arc770d config BR2_archs38 bool "ARC HS38" +config BR2_archs38_hf + bool "ARC HS38 with hard floating-point" + endchoice # Choice of atomic instructions presence config BR2_ARC_ATOMIC_EXT bool "Atomic extension (LLOCK/SCOND instructions)" - default y if BR2_arc770d || BR2_archs38 + default y if BR2_arc770d || BR2_archs38 || BR2_archs38_hf config BR2_ARCH default "arc" if BR2_arcle @@ -37,6 +40,7 @@ config BR2_GCC_TARGET_CPU default "arc700" if BR2_arc750d default "arc700" if BR2_arc770d default "archs" if BR2_archs38 + default "hs38_linux" if BR2_archs38_hf choice prompt "MMU Page Size" @@ -56,7 +60,7 @@ choice config BR2_ARC_PAGE_SIZE_4K bool "4KB" - depends on BR2_arc770d || BR2_archs38 + depends on BR2_arc770d || BR2_archs38 || BR2_archs38_hf config BR2_ARC_PAGE_SIZE_8K bool "8KB" @@ -66,7 +70,7 @@ config BR2_ARC_PAGE_SIZE_8K config BR2_ARC_PAGE_SIZE_16K bool "16KB" - depends on BR2_arc770d || BR2_archs38 + depends on BR2_arc770d || BR2_archs38 || BR2_archs38_hf endchoice diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in index fdf007e601..646ae3e0db 100644 --- a/package/uclibc/Config.in +++ b/package/uclibc/Config.in @@ -134,6 +134,7 @@ config BR2_UCLIBC_ARC_TYPE default "ARC_CPU_700" if BR2_arc750d default "ARC_CPU_700" if BR2_arc770d default "ARC_CPU_HS" if BR2_archs38 + default "ARC_CPU_HS" if BR2_archs38_hf config BR2_UCLIBC_MIPS_ABI string