From patchwork Fri Feb 1 19:33:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Beno=C3=AEt_Th=C3=A9baudeau?= X-Patchwork-Id: 217565 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 55BF72C0297 for ; Sat, 2 Feb 2013 06:33:58 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0A0C0A0297; Fri, 1 Feb 2013 19:33: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 yhOZs-G8UPtV; Fri, 1 Feb 2013 19:33:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id D25E7A007E; Fri, 1 Feb 2013 19:33:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B35948F74B for ; Fri, 1 Feb 2013 19:33:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7114782CD3 for ; Fri, 1 Feb 2013 19:33:52 +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 bhvARwk8ZgJn for ; Fri, 1 Feb 2013 19:33:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from zose-mta13.web4all.fr (zose-mta13.web4all.fr [178.33.204.91]) by whitealder.osuosl.org (Postfix) with ESMTPS id BA70C82809 for ; Fri, 1 Feb 2013 19:33:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zose-mta13.web4all.fr (Postfix) with ESMTP id C7D346A17A; Fri, 1 Feb 2013 20:33:47 +0100 (CET) X-Virus-Scanned: amavisd-new at Received: from zose-mta13.web4all.fr ([127.0.0.1]) by localhost (zose-mta13.web4all.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q0izVAGFN19m; Fri, 1 Feb 2013 20:33:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zose-mta13.web4all.fr (Postfix) with ESMTP id 77EBA6A174; Fri, 1 Feb 2013 20:33:47 +0100 (CET) X-Virus-Scanned: amavisd-new at Received: from zose-mta13.web4all.fr ([127.0.0.1]) by localhost (zose-mta13.web4all.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id WeQLg2JtMzdZ; Fri, 1 Feb 2013 20:33:47 +0100 (CET) Received: from advdt005-ubuntu.?none? (cie44-1-88-188-188-98.fbx.proxad.net [88.188.188.98]) by zose-mta13.web4all.fr (Postfix) with ESMTPA id ECBB96A175; Fri, 1 Feb 2013 20:33:46 +0100 (CET) From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= To: buildroot@busybox.net Date: Fri, 1 Feb 2013 20:33:24 +0100 Message-Id: <1359747204-12412-1-git-send-email-benoit.thebaudeau@advansee.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] arch/Config.in.arm: Use armv6k for arm1136jf-s rev1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net According to the ARM1136JF-S and ARM1136J-S Revision r1p5 Technical Reference Manual, from release rev1 (r1pn), the ARM1136JF-S processor implements the ARMv6 instruction set with the ARMv6k additions. This patch differentiates the ARM1136JF-S revisions 0 and 1 in order to use either ARMv6j (e.g. on Freescale i.MX31) or ARMv6k (e.g. on Freescale i.MX35). Signed-off-by: Benoît Thébaudeau --- arch/Config.in.arm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 806b196..b681d27 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -31,8 +31,10 @@ config BR2_arm926t bool "arm926t" config BR2_arm10t bool "arm10t" -config BR2_arm1136jf_s - bool "arm1136jf_s" +config BR2_arm1136jf_s_r0 + bool "arm1136jf_s rev0" +config BR2_arm1136jf_s_r1 + bool "arm1136jf_s rev1" config BR2_arm1176jz_s bool "arm1176jz-s" config BR2_arm1176jzf_s @@ -59,6 +61,10 @@ config BR2_iwmmxt bool "iwmmxt" endchoice +config BR2_arm1136jf_s + bool + default BR2_arm1136jf_s_r0 || BR2_arm1136jf_s_r1 + choice prompt "Target ABI" depends on BR2_arm || BR2_armeb @@ -126,7 +132,8 @@ config BR2_GCC_TARGET_ARCH default "armv4t" if BR2_arm922t default "armv5te" if BR2_arm926t default "armv5t" if BR2_arm10t - default "armv6j" if BR2_arm1136jf_s + default "armv6j" if BR2_arm1136jf_s_r0 + default "armv6k" if BR2_arm1136jf_s_r1 default "armv6zk" if BR2_arm1176jz_s default "armv6zk" if BR2_arm1176jzf_s default "armv7-a" if BR2_cortex_a5