From 45c2a6d3146aa4a40bf7f4bcc529d4e2f0d1cb17 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Mon, 10 May 2010 12:36:27 +0000 Subject: HD200 - Reduce wait states when writing to lcd. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25927 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/coldfire/mpio/hd200/system-hd200.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/target/coldfire/mpio') diff --git a/firmware/target/coldfire/mpio/hd200/system-hd200.c b/firmware/target/coldfire/mpio/hd200/system-hd200.c index 06628c0835..f7e270e094 100644 --- a/firmware/target/coldfire/mpio/hd200/system-hd200.c +++ b/firmware/target/coldfire/mpio/hd200/system-hd200.c @@ -90,7 +90,7 @@ void cf_set_cpu_frequency(long frequency) timers_adjust_prescale(CPUFREQ_DEFAULT_MULT, false); PLLCR = 0x05028045 | (PLLCR & 0x70C00000); CSCR0 = 0x00000580; /* Flash: 1 wait state */ - CSCR3 = 0x00000980; /* LCD: 0 wait states */ + CSCR3 = 0x00000180; /* 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); @@ -111,7 +111,7 @@ void cf_set_cpu_frequency(long frequency) /* Power down PLL, but keep CLSEL and CRSEL */ PLLCR = 0x00000200 | (PLLCR & 0x70C00000); CSCR0 = 0x00000180; /* Flash: 0 wait states */ - CSCR3 = 0x00000980; /* LCD: 0 wait states */ + CSCR3 = 0x00000180; /* LCD: 0 wait states */ DCR = (0x8000 | DEFAULT_REFRESH_TIMER); /* Refresh timer */ cpu_frequency = CPUFREQ_DEFAULT; IDECONFIG1 = (1<<28)|(1<<20)|(1<<18)|(1<<13)|(1<<10); -- cgit v1.2.3