]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Fix calculation of I2C clock for some 86xx chips
authorTimur Tabi <timur@freescale.com>
Fri, 4 Apr 2008 16:16:11 +0000 (11:16 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 30 Apr 2008 20:52:35 +0000 (22:52 +0200)
commit1b9ed2574a38c93cb03dad41885fc06be4bfc9dd
treeb97e947c8581850ce0eec7e0239a5548910843eb
parentf32f7fe7bd3a5bda3a476520f00e1aca7c2103a9
Fix calculation of I2C clock for some 86xx chips

Some 86xx chips use CCB as the base clock for the I2C, and others used CCB/2.
There is no pattern that can be used to determine which chips use which
frequency, so the only way to determine is to look up the actual SOC
designation and use the right value for that SOC.

Signed-off-by: Timur Tabi <timur@freescale.com>
cpu/mpc86xx/speed.c