From 73a35a1aa445932176fca78688d43c636a3fda5e Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 16 Nov 2005 23:42:19 +0000 Subject: Reverted erroneous commit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7918 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/i2c-coldfire.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'firmware/drivers/i2c-coldfire.c') diff --git a/firmware/drivers/i2c-coldfire.c b/firmware/drivers/i2c-coldfire.c index 0c83c1cb1a..aecd3a3b3b 100644 --- a/firmware/drivers/i2c-coldfire.c +++ b/firmware/drivers/i2c-coldfire.c @@ -37,7 +37,6 @@ static volatile unsigned char *i2c_get_addr(int device); void i2c_init(void) { -#ifdef IRIVER_H100_SERIES /* The FM chip has no pullup for SCL, so we have to bit-bang the I2C for that one. */ or_l(0x00800000, &GPIO1_OUT); @@ -46,7 +45,7 @@ void i2c_init(void) or_l(0x00000008, &GPIO_ENABLE); or_l(0x00800000, &GPIO1_FUNCTION); or_l(0x00000008, &GPIO_FUNCTION); -#endif + /* I2C Clock divisor = 576 => 119.952 MHz / 2 / 576 = 104.125 kHz */ MFDR = 0x14; -- cgit v1.2.3