From patchwork Fri Mar 18 21:08:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 599699 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 3qRdB926T9z9s8d for ; Sat, 19 Mar 2016 08:08:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 863BB8B8F3; Fri, 18 Mar 2016 21:08:48 +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 jKiOTYn49NgJ; Fri, 18 Mar 2016 21:08:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B3C9A9088F; Fri, 18 Mar 2016 21:08:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A43F11BF9E4 for ; Fri, 18 Mar 2016 21:08:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A0C6586EC6 for ; Fri, 18 Mar 2016 21:08:27 +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 O8u+EgZRlPpJ for ; Fri, 18 Mar 2016 21:08:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (down.free-electrons.com [37.187.137.238]) by hemlock.osuosl.org (Postfix) with ESMTP id F051A86E5B for ; Fri, 18 Mar 2016 21:08:26 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id C34B5228; Fri, 18 Mar 2016 22:08:25 +0100 (CET) Received: from localhost (AToulouse-657-1-41-6.w92-146.abo.wanadoo.fr [92.146.39.6]) by mail.free-electrons.com (Postfix) with ESMTPSA id 894F7205; Fri, 18 Mar 2016 22:08:25 +0100 (CET) From: Thomas Petazzoni To: Buildroot List Date: Fri, 18 Mar 2016 22:08:05 +0100 Message-Id: <1458335299-27409-4-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1458335299-27409-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1458335299-27409-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni , Lee Jones , Maxime Coquelin Subject: [Buildroot] [PATCH v2 03/17] arch/arm: add Cortex-M4 entry 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" This commit adds the option to select the Cortex-M4 ARM core, in the same family as Cortex-M3. This will be useful to enable the internal toolchain backend for this ARM core, and provide some defconfigs for Cortex-M4 platforms. Signed-off-by: Thomas Petazzoni Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Reviewed-by: "Yann E. MORIN" --- arch/Config.in.arm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index cd1ec33..ee612f5 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -174,6 +174,10 @@ config BR2_cortex_m3 bool "cortex-M3" select BR2_ARM_CPU_HAS_THUMB2 select BR2_ARM_CPU_ARMV7M +config BR2_cortex_m4 + bool "cortex-M4" + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7M config BR2_fa526 bool "fa526/626" select BR2_ARM_CPU_HAS_ARM @@ -455,6 +459,7 @@ config BR2_GCC_TARGET_CPU default "cortex-a15" if BR2_cortex_a15 default "cortex-a17" if BR2_cortex_a17 default "cortex-m3" if BR2_cortex_m3 + default "cortex-m4" if BR2_cortex_m4 default "fa526" if BR2_fa526 default "marvell-pj4" if BR2_pj4 default "strongarm" if BR2_strongarm