summaryrefslogtreecommitdiff
path: root/examples/timer.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2008-04-04 11:15:58 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-04-18 17:43:09 -0500
commit88353a985109562a639b2f8a0c90d77011bfe374 (patch)
treea6c7c35746ed291c3a003eed91c2525619e03266 /examples/timer.c
parent5e3dca577b7c1bf58bd2b48449b18b7e7dcd8e04 (diff)
downloadu-boot-imx-88353a985109562a639b2f8a0c90d77011bfe374.zip
u-boot-imx-88353a985109562a639b2f8a0c90d77011bfe374.tar.gz
u-boot-imx-88353a985109562a639b2f8a0c90d77011bfe374.tar.bz2
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>
Diffstat (limited to 'examples/timer.c')
0 files changed, 0 insertions, 0 deletions