aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realview
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-09-18 10:00:56 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-09-18 10:00:56 +0000
commit06276fdcf62b9ffe32e29bff5d96be659eb5ca10 (patch)
tree6137d156cc4605ab943564d2b8ca5acea0ae494c /target/linux/realview
parent072f81a92141a41484408648e0cc51203951fc90 (diff)
downloadmaster-187ad058-06276fdcf62b9ffe32e29bff5d96be659eb5ca10.tar.gz
master-187ad058-06276fdcf62b9ffe32e29bff5d96be659eb5ca10.tar.bz2
master-187ad058-06276fdcf62b9ffe32e29bff5d96be659eb5ca10.zip
[realview] disable VFPv4 probing
This will make the kernel crash on systems using qemu < 1.1.0. Until fixed disable VPFv4 capability probing. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33458 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/realview')
-rw-r--r--target/linux/realview/patches-3.3/002-disable_fmrx_instr.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/realview/patches-3.3/002-disable_fmrx_instr.patch b/target/linux/realview/patches-3.3/002-disable_fmrx_instr.patch
new file mode 100644
index 0000000000..329e29fa26
--- /dev/null
+++ b/target/linux/realview/patches-3.3/002-disable_fmrx_instr.patch
@@ -0,0 +1,13 @@
+--- a/arch/arm/vfp/vfpmodule.c
++++ b/arch/arm/vfp/vfpmodule.c
+@@ -622,8 +622,10 @@ static int __init vfp_init(void)
+ if ((fmrx(MVFR1) & 0x000fff00) == 0x00011100)
+ elf_hwcap |= HWCAP_NEON;
+ #endif
++#if 0
+ if ((fmrx(MVFR1) & 0xf0000000) == 0x10000000)
+ elf_hwcap |= HWCAP_VFPv4;
++#endif
+ }
+ }
+ return 0;