]> git.sur5r.net Git - u-boot/commit
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)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Mon, 4 Feb 2008 23:38:08 +0000 (17:38 -0600)
commite56b4b494cd92def577969f9678395aa22d34c9f
treeffa10dd80259e4baba98aeadaeb06f5f0ae3e467
parent2c5260f711168d5ee91c70ddbb7d897013eefc46
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