summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-05-20 12:05:24 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-05-20 12:05:24 +0000
commitf28187074b879019237aab384c72a8dc3c40f3f8 (patch)
treea890b8f3383335db52c1d7c6cb9e74f6086a8835 /firmware/target/coldfire
parentbb3a3ec7b0741d3ff5eebebb5fec60b91bec94bc (diff)
downloadrockbox-f28187074b879019237aab384c72a8dc3c40f3f8.tar.gz
rockbox-f28187074b879019237aab384c72a8dc3c40f3f8.tar.bz2
rockbox-f28187074b879019237aab384c72a8dc3c40f3f8.zip
HD200 - increase sligtly wait states for lcd. This removes clicks in playback and lcd updates are fast anyway
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26188 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/mpio/hd200/system-hd200.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/coldfire/mpio/hd200/system-hd200.c b/firmware/target/coldfire/mpio/hd200/system-hd200.c
index 2ebc5e8165..9a85ef87b4 100644
--- a/firmware/target/coldfire/mpio/hd200/system-hd200.c
+++ b/firmware/target/coldfire/mpio/hd200/system-hd200.c
@@ -70,7 +70,7 @@ void cf_set_cpu_frequency(long frequency)
timers_adjust_prescale(CPUFREQ_DEFAULT_MULT, false);
PLLCR = 0x018ae025 | (PLLCR & 0x70400000);
CSCR0 = 0x00001180; /* Flash: 4 wait states */
- CSCR3 = 0x00000580; /* LCD: 4 wait states */
+ CSCR3 = 0x00000980; /* LCD: 4 wait states */
while(!(PLLCR & 0x80000000)) {}; /* Wait until the PLL has locked.
This may take up to 10ms! */
timers_adjust_prescale(CPUFREQ_MAX_MULT, true);
@@ -91,7 +91,7 @@ void cf_set_cpu_frequency(long frequency)
timers_adjust_prescale(CPUFREQ_DEFAULT_MULT, false);
PLLCR = 0x0589e021 | (PLLCR & 0x70400000);
CSCR0 = 0x00000580; /* Flash: 1 wait state */
- CSCR3 = 0x00000180; /* LCD: 0 wait states */
+ CSCR3 = 0x00000580; /* LCD: 0 wait states */
while(!(PLLCR & 0x80000000)) {}; /* Wait until the PLL has locked.
This may take up to 10ms! */
timers_adjust_prescale(CPUFREQ_NORMAL_MULT, true);