summaryrefslogtreecommitdiff
path: root/firmware/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/system.c')
-rw-r--r--firmware/system.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/system.c b/firmware/system.c
index a6474549f5..5e8a7cd4d7 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -599,11 +599,7 @@ void set_cpu_frequency(long frequency)
599 /* Refresh timer for bypass frequency */ 599 /* Refresh timer for bypass frequency */
600 PLLCR &= ~1; /* Bypass mode */ 600 PLLCR &= ~1; /* Bypass mode */
601 timers_adjust_prescale(CPUFREQ_DEFAULT_MULT, false); 601 timers_adjust_prescale(CPUFREQ_DEFAULT_MULT, false);
602#ifdef IRIVER_H300_SERIES
603 PLLCR = 0x1183e005;
604#else
605 PLLCR = 0x11856005; 602 PLLCR = 0x11856005;
606#endif
607 CSCR0 = 0x00001180; /* Flash: 4 wait states */ 603 CSCR0 = 0x00001180; /* Flash: 4 wait states */
608 CSCR1 = 0x00000980; /* LCD: 2 wait states */ 604 CSCR1 = 0x00000980; /* LCD: 2 wait states */
609 while(!(PLLCR & 0x80000000)) {}; /* Wait until the PLL has locked. 605 while(!(PLLCR & 0x80000000)) {}; /* Wait until the PLL has locked.