[U-Boot-Users] i2c_set_bus_num

Dongying_Xu at us.alphanetworks.com Dongying_Xu at us.alphanetworks.com
Wed Mar 28 01:48:29 CEST 2007


Does anyone experienced following problem? In u-boot/drivers/fsl_i2c.c, 
there are functions to set and get i2c bus number,
When I set the default i2c_bus_num to 0, I can not use i2c_set_bus_num() 
set bus 1 properly.  For example, I called

>>printf(The bus number is %d\n", i2c_get_bus_num());

>>>>The bus number is 0.

I am using MPC8343.  Thanks. Any suggestion is appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070327/0617366e/attachment.htm 

More information about the U-Boot mailing list