]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-qoriq: Remove Altivec from T1040 64-bit defconfig
authorBob Cochran <yocto@mindchasers.com>
Fri, 14 Nov 2014 03:55:23 +0000 (22:55 -0500)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 4 Dec 2014 13:25:22 +0000 (21:25 +0800)
T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit

This was tested on a t1040rdb

Signed-off-by: Bob Cochran <yocto@mindchasers.com>
meta-fsl-ppc/recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch [new file with mode: 0644]
meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_3.12.bb

diff --git a/meta-fsl-ppc/recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch b/meta-fsl-ppc/recipes-kernel/linux/files/remove-Altivec-from-T1040-64-bit-defconfig.patch
new file mode 100644 (file)
index 0000000..e6cc881
--- /dev/null
@@ -0,0 +1,27 @@
+From e018761d719e41e3bf108cafafcb5138527752e2 Mon Sep 17 00:00:00 2001
+From: Bob Cochran <yocto@mindchasers.com>
+Date: Fri, 31 Oct 2014 16:49:57 -0400
+Subject: [meta-fsl-ppc][PATCH] linux-qoriq: Remove Altivec from T1040 64-bit defconfig
+
+T1040 uses an E5500 processor, and E5500 doesn't have an Altivec unit
+
+Signed-off-by: Bob Cochran <yocto@mindchasers.com>
+---
+ arch/powerpc/configs/t1040_64bit_smp_defconfig |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/powerpc/configs/t1040_64bit_smp_defconfig b/arch/powerpc/configs/t1040_64bit_smp_defconfig
+index 1b987d9..c2005f2 100644
+--- a/arch/powerpc/configs/t1040_64bit_smp_defconfig
++++ b/arch/powerpc/configs/t1040_64bit_smp_defconfig
+@@ -1,6 +1,6 @@
+ CONFIG_PPC64=y
+ CONFIG_PPC_BOOK3E_64=y
+-CONFIG_ALTIVEC=y
++# CONFIG_ALTIVEC is not set
+ CONFIG_SMP=y
+ CONFIG_NR_CPUS=24
+ CONFIG_SYSVIPC=y
+-- 
+1.7.9.5
+
index 39270d4819f9ec92e5e151210d457156bac74836..a9f7fa7469fff271d7ffde0e53bda9e704890d91 100644 (file)
@@ -5,6 +5,7 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;nobranch=1 \
     file://Fix-for-CVE-2014-5045-fs-umount-on-symlink-leak.patch \
     file://Fix-CVE-2014-5077-sctp-inherit-auth-capable-on-INIT-collisions.patch \
     file://Fix-CVE-2014-5471_CVE-2014-5472.patch \
+    file://remove-Altivec-from-T1040-64-bit-defconfig.patch \
 "
 SRCREV = "c29fe1a733308cbe592b3af054a97be1b91cf2dd"