Re: [U-Boot] i2c_reg_read() on 8xx

2008-10-22 Thread Wolfgang Denk
Dear Timur, In message <[EMAIL PROTECTED]> you wrote: > Wolfgang, > > Mike Frysinger helped me resolve the problem with i2c_reg_read() on Blackfin, > so > I'll be posting a new patch soon. However, I noticed that 8xx has a problem, > too: > > uchar > i2c_reg_read(uchar i2c_addr, uchar reg) >

[U-Boot] i2c_reg_read() on 8xx

2008-10-22 Thread Timur Tabi
Wolfgang, Mike Frysinger helped me resolve the problem with i2c_reg_read() on Blackfin, so I'll be posting a new patch soon. However, I noticed that 8xx has a problem, too: uchar i2c_reg_read(uchar i2c_addr, uchar reg) { uchar buf; i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_