85xx: Using proper I2C source clock divider for MPC8544
authorWolfgang Grandegger <wg@grandegger.com>
Tue, 30 Sep 2008 08:55:57 +0000 (10:55 +0200)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Wed, 8 Oct 2008 19:20:27 +0000 (14:20 -0500)
commitdffd2446fb041f38ef034b0fcf41e51e5e489159
tree0a5da83e67172e86ef0277c88ef943225744c048
parente46c7bfb8bc3c304cedd20f7a365d6e78d7eaf17
85xx: Using proper I2C source clock divider for MPC8544

Measurements with our MPC8544 board showed that the I2C bus frequency
is wrong by a factor of 1.5. Obviously, the interpretation of the
MPC85xx_PORDEVSR2_SEC_CFG bit of the cfg_sec_freq register is not
correct. There seems to be an error in the 8544 RM.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
cpu/mpc85xx/speed.c