public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] i2c for mpc107 bridge
@ 2003-08-28  9:42 Gleb Natapov
  2003-08-28 12:21 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Gleb Natapov @ 2003-08-28  9:42 UTC (permalink / raw)
  To: u-boot

Hello,

I tried to use I2C driver from cpu/mpc824x/drivers/i2c/ before
relocation to ram (to read SDRAM eeprom actually). This doesn't work
for me. I think this is because Motorola driver uses static variables
and this can't work from flash.

I wrote my own simple driver (attached) that does work from flash. May be
somebody needs it :)

--
			Gleb.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c.c
Type: text/x-csrc
Size: 5261 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20030828/b2dd28a2/attachment.c 

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

end of thread, other threads:[~2003-09-10 20:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-28  9:42 [U-Boot-Users] i2c for mpc107 bridge Gleb Natapov
2003-08-28 12:21 ` Wolfgang Denk
     [not found]   ` <20030828123944.GA10453@nbase.co.il>
2003-08-28 13:00     ` Gleb Natapov
2003-08-29 22:12     ` Wolfgang Denk
2003-08-30 10:39       ` Gleb Natapov
2003-09-10 20:52         ` Wolfgang Denk

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