mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-10 13:42:29 -05:00
HD200 - decrease wait states for lcd when boosted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26103 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cce9c17902
commit
1a25eddaa7
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ void cf_set_cpu_frequency(long frequency)
|
||||||
timers_adjust_prescale(CPUFREQ_DEFAULT_MULT, false);
|
timers_adjust_prescale(CPUFREQ_DEFAULT_MULT, false);
|
||||||
PLLCR = 0x0102c049 | (PLLCR & 0x70C00000);
|
PLLCR = 0x0102c049 | (PLLCR & 0x70C00000);
|
||||||
CSCR0 = 0x00001180; /* Flash: 4 wait states */
|
CSCR0 = 0x00001180; /* Flash: 4 wait states */
|
||||||
CSCR3 = 0x00001180; /* LCD: 4 wait states */
|
CSCR3 = 0x00000580; /* LCD: 4 wait states */
|
||||||
while(!(PLLCR & 0x80000000)) {}; /* Wait until the PLL has locked.
|
while(!(PLLCR & 0x80000000)) {}; /* Wait until the PLL has locked.
|
||||||
This may take up to 10ms! */
|
This may take up to 10ms! */
|
||||||
timers_adjust_prescale(CPUFREQ_MAX_MULT, true);
|
timers_adjust_prescale(CPUFREQ_MAX_MULT, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue