[U-Boot-Users] 85xx, 86xx: Determine I2C clock frequencies and store in global_data

Wolfgang Denk wd at denx.de
Thu Feb 14 23:32:56 CET 2008


In message <11999109263282-git-send-email-timur at freescale.com> you wrote:
> 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 at freescale.com>
> ---
>  cpu/mpc85xx/speed.c           |    3 +++
>  cpu/mpc86xx/speed.c           |    2 ++
>  include/asm-ppc/global_data.h |    6 ++++--
>  3 files changed, 9 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Of all the things I've lost, I miss my mind the most.




More information about the U-Boot mailing list