public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] i2c_set_bus_num
@ 2007-03-27 23:48 Dongying_Xu at us.alphanetworks.com
  2007-03-28  1:00 ` Kim Phillips
  0 siblings, 1 reply; 6+ messages in thread
From: Dongying_Xu at us.alphanetworks.com @ 2007-03-27 23:48 UTC (permalink / raw)
  To: u-boot

Hi, 

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

>>i2c_set_bus_num(1);
>>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.

dongy



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-03-29 18:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 23:48 [U-Boot-Users] i2c_set_bus_num Dongying_Xu at us.alphanetworks.com
2007-03-28  1:00 ` Kim Phillips
2007-03-28  1:07   ` Timur Tabi
2007-03-29 18:07   ` Dongying_Xu at us.alphanetworks.com
2007-03-29 18:11     ` Timur Tabi
2007-03-29 18:51       ` Dongying_Xu at us.alphanetworks.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox