aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realview/patches-3.3
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-05 10:12:53 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-05 10:12:53 +0000
commit5c105d9f3fd086aff195d3849dcf847d6b0bd927 (patch)
tree1229a11f725bfa58aa7c57a76898553bb5f6654a /target/linux/realview/patches-3.3
downloadopenwrt-5c105d9f3fd086aff195d3849dcf847d6b0bd927.tar.gz
openwrt-5c105d9f3fd086aff195d3849dcf847d6b0bd927.zip
branch Attitude Adjustment
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33625 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/realview/patches-3.3')
-rw-r--r--target/linux/realview/patches-3.3/001-arm-fix-REALVIEW_EB11MP_PRIV_MEM_BASE.patch11
-rw-r--r--target/linux/realview/patches-3.3/002-disable_fmrx_instr.patch13
2 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/realview/patches-3.3/001-arm-fix-REALVIEW_EB11MP_PRIV_MEM_BASE.patch b/target/linux/realview/patches-3.3/001-arm-fix-REALVIEW_EB11MP_PRIV_MEM_BASE.patch
new file mode 100644
index 000000000..f5008cb4b
--- /dev/null
+++ b/target/linux/realview/patches-3.3/001-arm-fix-REALVIEW_EB11MP_PRIV_MEM_BASE.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/mach-realview/include/mach/board-eb.h
++++ b/arch/arm/mach-realview/include/mach/board-eb.h
+@@ -47,7 +47,7 @@
+ #define REALVIEW_EB_USB_BASE 0x4F000000 /* USB */
+
+ #ifdef CONFIG_REALVIEW_EB_ARM11MP_REVB
+-#define REALVIEW_EB11MP_PRIV_MEM_BASE 0x1F000000
++#define REALVIEW_EB11MP_PRIV_MEM_BASE 0x10100000
+ #define REALVIEW_EB11MP_L220_BASE 0x10102000 /* L220 registers */
+ #define REALVIEW_EB11MP_SYS_PLD_CTRL1 0xD8 /* Register offset for MPCore sysctl */
+ #else
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 000000000..329e29fa2
--- /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;