diff options
Diffstat (limited to 'packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-nfbit-fix.patch')
-rw-r--r-- | packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-nfbit-fix.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-nfbit-fix.patch b/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-nfbit-fix.patch new file mode 100644 index 0000000000..bed3de37e9 --- /dev/null +++ b/packages/linux/linux-2.6.22+2.6.23-rc5/ts72xx/ts72xx-nfbit-fix.patch @@ -0,0 +1,18 @@ + +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. + +Index: linux-2.6.23-rc5/arch/arm/mm/proc-arm920.S +=================================================================== +--- linux-2.6.23-rc5.orig/arch/arm/mm/proc-arm920.S 2007-09-04 02:25:36.000000000 +0200 ++++ linux-2.6.23-rc5/arch/arm/mm/proc-arm920.S 2007-09-04 02:27:02.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 + |