Re: [U-Boot-Users] I2c slave mode programming

I have a good experience on low level programming experience.I check \mpc8260\I2c.c file,and rewrite i2c_init() function.set slaveadd =1.and i2c->i2c_i2mod = 0;then I2c work at slave mode.I think that.Is that right?Thanks advance
sincerely,
Jie
--- Wolfgang Denk wd@denx.de wrote:
In message
20050512064604.48533.qmail@web15108.mail.cnb.yahoo.com
you wrote:
I code u-boot at MPC8270 board,I2c work at master
mode
is right,how could I change it to slave mode,I
haven't
idea,give me some advice,thanks advance
If you haven't an idea we cannot help you as this needs some low-level programming which requires a detailed understanding of the hardware and software involved. Sorry.
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "A witty saying proves nothing." - Voltaire
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
__________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
participants (1)
-
jie han