1 Index: linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/arch/arm/mach-pxa/cpu-pxa.c
4 +++ linux-2.6.21.7/arch/arm/mach-pxa/cpu-pxa.c
5 @@ -65,8 +65,8 @@ typedef struct
7 #define CCLKCFG_TURBO 0x1
8 #define CCLKCFG_FCS 0x2
9 -#define PXA25x_MIN_FREQ 99500
10 -#define PXA25x_MAX_FREQ 398100
11 +#define PXA25x_MIN_FREQ 99533
12 +#define PXA25x_MAX_FREQ 530842
13 #define MDREFR_DB2_MASK (MDREFR_K2DB2 | MDREFR_K1DB2)
14 #define MDREFR_DRI_MASK 0xFFF
16 @@ -75,12 +75,14 @@ typedef struct
17 static pxa_freqs_t pxa255_run_freqs[] =
19 /* CPU MEMBUS CCCR DIV2*/
20 - { 99500, 99500, 0x121, 1}, /* run= 99, turbo= 99, PXbus=50, SDRAM=50 */
21 - {132700, 132700, 0x123, 1}, /* run=133, turbo=133, PXbus=66, SDRAM=66 */
22 - {199100, 99500, 0x141, 0}, /* run=199, turbo=199, PXbus=99, SDRAM=99 */
23 - {265400, 132700, 0x143, 1}, /* run=265, turbo=265, PXbus=133, SDRAM=66 */
24 - {331800, 165900, 0x145, 1}, /* run=331, turbo=331, PXbus=166, SDRAM=83 */
25 - {398100, 99500, 0x161, 0}, /* run=398, turbo=398, PXbus=196, SDRAM=99 */
26 + { 99533, 99533, 0x121, 1}, /* run= 99, turbo= 99, PXbus=50, SDRAM=50 */
27 + {132710, 132710, 0x123, 1}, /* run=133, turbo=133, PXbus=66, SDRAM=66 */
28 + {199066, 99533, 0x141, 0}, /* run=199, turbo=199, PXbus=99, SDRAM=99 */
29 + {265421, 132710, 0x143, 0}, /* run=265, turbo=265, PXbus=133, SDRAM=133 */
30 + {331776, 165888, 0x145, 1}, /* run=331, turbo=331, PXbus=166, SDRAM=83 */
31 + {398131, 99533, 0x161, 0}, /* run=398, turbo=398, PXbus=99, SDRAM=99 */
32 + {398131, 132710, 0x1c3, 0}, /* run=265, turbo=398, PXbus=133, SDRAM=133 */
33 + {530842, 132710, 0x163, 0}, /* run=531, turbo=531, PXbus=133, SDRAM=133 */
36 #define NUM_RUN_FREQS (sizeof(pxa255_run_freqs)/sizeof(pxa_freqs_t))
37 @@ -91,11 +93,11 @@ static struct cpufreq_frequency_table px
38 static pxa_freqs_t pxa255_turbo_freqs[] =
40 /* CPU MEMBUS CCCR DIV2*/
41 - { 99500, 99500, 0x121, 1}, /* run=99, turbo= 99, PXbus=50, SDRAM=50 */
42 - {199100, 99500, 0x221, 0}, /* run=99, turbo=199, PXbus=50, SDRAM=99 */
43 - {298500, 99500, 0x321, 0}, /* run=99, turbo=287, PXbus=50, SDRAM=99 */
44 - {298600, 99500, 0x1c1, 0}, /* run=199, turbo=287, PXbus=99, SDRAM=99 */
45 - {398100, 99500, 0x241, 0}, /* run=199, turbo=398, PXbus=99, SDRAM=99 */
46 + { 99533, 99533, 0x121, 1}, /* run=99, turbo= 99, PXbus=99, SDRAM=50 */
47 + {149299, 99533, 0x1a1, 0}, /* run=99, turbo=149, PXbus=99, SDRAM=99 */
48 + {199066, 99533, 0x221, 0}, /* run=99, turbo=199, PXbus=99, SDRAM=99 */
49 + {298598, 99533, 0x321, 0}, /* run=99, turbo=299, PXbus=99, SDRAM=99 */
50 + {398131, 99533, 0x241, 1}, /* run=199, turbo=398, PXbus=99, SDRAM=50 */
53 #define NUM_TURBO_FREQS (sizeof(pxa255_turbo_freqs)/sizeof(pxa_freqs_t))