85xx, 86xx: Determine I2C clock frequencies and store in global_data
authorTimur Tabi <timur@freescale.com>
Wed, 9 Jan 2008 20:35:26 +0000 (14:35 -0600)
committerWolfgang Denk <wd@denx.de>
Thu, 14 Feb 2008 22:32:40 +0000 (23:32 +0100)
commit943afa229cf5bf70ef917c7eb6bd0db59a1ba602
treebbc690a27504a6e1c7f830b6556f23a4ddd14e94
parentb931b3a9c3bdfaaeaa71e57a6026eec726005b08
85xx, 86xx: Determine I2C clock frequencies and store in global_data

Update global_data to define i2c1_clk and i2c2_clk to 85xx and 86xx.

Update the get_clocks() function in 85xx and 86xx to determine the I2C
clock frequency and store it in gd->i2c1_clk and gd->i2c2_clk.

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