]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Fix calculation of I2C clock for some 85xx chips
authorTimur Tabi <timur@freescale.com>
Fri, 4 Apr 2008 16:15:58 +0000 (11:15 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Fri, 18 Apr 2008 22:43:09 +0000 (17:43 -0500)
commit88353a985109562a639b2f8a0c90d77011bfe374
treea6c7c35746ed291c3a003eed91c2525619e03266
parent5e3dca577b7c1bf58bd2b48449b18b7e7dcd8e04
Fix calculation of I2C clock for some 85xx chips

Some 85xx chips use CCB as the base clock for the I2C.  Some use CCB/2, and
some use CCB/3.  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.

Update immap_85xx.h to include the GUTS PORDEVSR2 register.

Signed-off-by: Timur Tabi <timur@freescale.com>
cpu/mpc85xx/speed.c
include/asm-ppc/immap_85xx.h