Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Index: firmware/target/arm/system-pp502x.c
===================================================================
--- firmware/target/arm/system-pp502x.c  (revision 28606)
+++ firmware/target/arm/system-pp502x.c  (working copy)
@@ -314,15 +314,15 @@
         PLL_CONTROL   = 0x8a020a03; /* repeat setup */
         udelay(500);                /* wait for relock */
 #elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
-        PLL_CONTROL   = 0x8a121403; /*  80 MHz = (20/3 * 24MHz) / 2 */
+        PLL_CONTROL   = 0x8a021906; /* 100 MHz = (25/6 * 24MHz) / 1 */
         while (!(PLL_STATUS & 0x80000000)); /* wait for relock */
 #endif
         scale_suspend_core(true);
-        DEV_TIMING1   = 0x00000808;
+        DEV_TIMING1   = 0x00000a0a;
         CLOCK_SOURCE  = 0x20007777; /* source #1, #2, #3, #4: PLL (#2 active) */
         scale_suspend_core(false);
         break;
-#if 0 /******** CPUFREQ_NORMAL = 24MHz without PLL ********/
+#if 1 /******** CPUFREQ_NORMAL = 24MHz without PLL ********/
       case CPUFREQ_NORMAL:
         cpu_frequency =  CPUFREQ_NORMAL;
         PLL_CONTROL  |=  0x08000000;
Index: firmware/target/arm/system-target.h
===================================================================
--- firmware/target/arm/system-target.h  (revision 28606)
+++ firmware/target/arm/system-target.h  (working copy)
@@ -32,14 +32,14 @@
 #if CONFIG_CPU == PP5002
 #define CPUFREQ_SLEEP      32768
 #define CPUFREQ_DEFAULT 24000000
-#define CPUFREQ_NORMAL  30000000
+#define CPUFREQ_NORMAL  24000000
 #define CPUFREQ_MAX     80000000

 #else /* PP5022, PP5024 */
 #define CPUFREQ_SLEEP      32768
 #define CPUFREQ_DEFAULT 24000000
-#define CPUFREQ_NORMAL  30000000
-#define CPUFREQ_MAX     80000000
+#define CPUFREQ_NORMAL  24000000
+#define CPUFREQ_MAX    100000000
 #endif

 #define inl(a) (*(volatile unsigned long *) (a))