[oe-commits] Koen Kooi : linux.inc: add knob to turn off cortex a8 fixups
git version control
git at git.openembedded.org
Tue Oct 12 15:49:10 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 88335ada413098838c3c8315b90183eef1ccd0d3
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=88335ada413098838c3c8315b90183eef1ccd0d3
Author: Koen Kooi <koen at openembedded.org>
Date: Tue Oct 12 17:46:10 2010 +0200
linux.inc: add knob to turn off cortex a8 fixups
linux-sakoman 2.6.35: use above knob
---
recipes/linux/linux-sakoman_2.6.35.bb | 2 ++
recipes/linux/linux.inc | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/recipes/linux/linux-sakoman_2.6.35.bb b/recipes/linux/linux-sakoman_2.6.35.bb
index 6647d87..9933af4 100644
--- a/recipes/linux/linux-sakoman_2.6.35.bb
+++ b/recipes/linux/linux-sakoman_2.6.35.bb
@@ -1,3 +1,5 @@
+CORTEXA8FIXUP = "no"
+
require linux.inc
DESCRIPTION = "Linux kernel for OMAP processors"
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index 34deebb..0409ebf 100644
--- a/recipes/linux/linux.inc
+++ b/recipes/linux/linux.inc
@@ -52,6 +52,8 @@ KERNEL_DEVICETREE_xilinx-ml507 = "arch/${ARCH}/boot/dts/virtex440-ml507.dts"
KERNEL_DEVICETREE_FLAGS = "-R 8 -S 0x3000"
+CORTEXA8FIXUP ?= "yes"
+
python __anonymous () {
import bb
@@ -108,7 +110,7 @@ do_configure_prepend() {
fi
# Enable thumb2 fixup for specific issue in angstrom toolchains when used on A8 r1p[012] silicon
- if [ "${DISTRO_NAME}" = "Angstrom" ] ; then
+ if [ "${DISTRO_NAME}" = "Angstrom" -o "${CORTEXA8FIXUP}" = "yes"] ; then
sed -i -e /CONFIG_ARM_ERRATA_430973/d ${WORKDIR}/defconfig
echo "CONFIG_ARM_ERRATA_430973=y" >> ${S}/.config
fi
More information about the Openembedded-commits
mailing list