summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.22.6/ts72xx/ts72xx-nfbit-fix.patch
diff options
context:
space:
mode:
authorPetr Stetiar <ynezz@true.cz>2007-09-06 08:16:40 +0000
committerKoen Kooi <koen@openembedded.org>2007-09-06 08:16:40 +0000
commit69be25f5d1e83ee279cc286e67ace024a2a30665 (patch)
tree5801eb6a228de34fe0403e5be0d51887f7dc71b9 /packages/linux/linux-2.6.22.6/ts72xx/ts72xx-nfbit-fix.patch
parent1230cf4ecda8de9a1d974ddc12ddcadf190d4072 (diff)
linux: add ts72xx support to 2.6.22.6 and 2.6.22+2.6.23-rc5 (see version policy for the renaming reason), closes #2918
Diffstat (limited to 'packages/linux/linux-2.6.22.6/ts72xx/ts72xx-nfbit-fix.patch')
-rw-r--r--packages/linux/linux-2.6.22.6/ts72xx/ts72xx-nfbit-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.22.6/ts72xx/ts72xx-nfbit-fix.patch b/packages/linux/linux-2.6.22.6/ts72xx/ts72xx-nfbit-fix.patch
new file mode 100644
index 0000000000..eab73154a8
--- /dev/null
+++ b/packages/linux/linux-2.6.22.6/ts72xx/ts72xx-nfbit-fix.patch
@@ -0,0 +1,15 @@
+
+Force the nF bit on. Usually this is set by the bootrom. If it is not set,
+then the CPU core will run from HCLK instead of FCLK, and performance will
+suffer. If you see BogoMIPS of about 1/4 of your CPU clock, try turning this
+on; your performance should double.
+
+--- linux-2.6.21.4/arch/arm/mm/proc-arm920.S 2007-06-07 23:27:31.000000000 +0200
++++ linux-2.6.21.4-arm/arch/arm/mm/proc-arm920.S 2007-06-08 22:59:48.000000000 +0200
+@@ -395,6 +395,7 @@
+ mrc p15, 0, r0, c1, c0 @ get control register v4
+ bic r0, r0, r5
+ orr r0, r0, r6
++ orr r0, r0, #0x40000000
+ mov pc, lr
+ .size __arm920_setup, . - __arm920_setup