1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|