diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-27 01:12:16 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-27 01:12:16 +0000 |
| commit | ddef7ee171f33747b928998f415f78056755d7b7 (patch) | |
| tree | 0d36a0c03168a50e535c908e597fdafefd279b23 /firmware/system.c | |
| parent | ec5366ac79b4c25289aa6a6450ec8802c98fc818 (diff) | |
| download | rockbox-ddef7ee171f33747b928998f415f78056755d7b7.zip rockbox-ddef7ee171f33747b928998f415f78056755d7b7.tar.gz rockbox-ddef7ee171f33747b928998f415f78056755d7b7.tar.bz2 rockbox-ddef7ee171f33747b928998f415f78056755d7b7.tar.xz | |
Temporarily set the max CPU frequency to 90MHz on the H300
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8077 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/system.c')
| -rw-r--r-- | firmware/system.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/system.c b/firmware/system.c index 5e8a7cd..a647454 100644 --- a/firmware/system.c +++ b/firmware/system.c @@ -599,7 +599,11 @@ void set_cpu_frequency(long frequency) /* Refresh timer for bypass frequency */ PLLCR &= ~1; /* Bypass mode */ timers_adjust_prescale(CPUFREQ_DEFAULT_MULT, false); +#ifdef IRIVER_H300_SERIES + PLLCR = 0x1183e005; +#else PLLCR = 0x11856005; +#endif CSCR0 = 0x00001180; /* Flash: 4 wait states */ CSCR1 = 0x00000980; /* LCD: 2 wait states */ while(!(PLLCR & 0x80000000)) {}; /* Wait until the PLL has locked. |