mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 02:48:26 +02:00
[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
This commit is contained in:
parent
d68d56b155
commit
b079ac667f
@ -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;
|
Loading…
Reference in New Issue
Block a user