From b85b6be3aa05510a1aca173a6f5a762c4448fdae Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 15 Oct 2007 21:16:50 +0000 Subject: Coldfire targets: enable buffered writes by default. Speeds up all sorts of I/O that writes to ports: LCD update (except the functions using DMA on H300), ATA writes, .... Some timings had to be adjusted for the new configuration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15129 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/coldfire/pcf50606-coldfire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/coldfire/pcf50606-coldfire.c') diff --git a/firmware/target/coldfire/pcf50606-coldfire.c b/firmware/target/coldfire/pcf50606-coldfire.c index d57b249f0d..3c1f402791 100644 --- a/firmware/target/coldfire/pcf50606-coldfire.c +++ b/firmware/target/coldfire/pcf50606-coldfire.c @@ -81,7 +81,7 @@ static int i2c_delay IDATA_ATTR = 44; void pcf50606_i2c_recalc_delay(int cpu_clock) { - i2c_delay = MAX(cpu_clock / (400000*2*3) - 7, 1); + i2c_delay = MAX(cpu_clock / (400000*2*3) - 5, 1); } inline void pcf50606_i2c_start(void) -- cgit v1.2.3