[U-Boot] [PATCH 3/6] i2c: fsl_i2c:i2c_read(): dont try to write address w/ alen=0

Jim Chargin jimccrown at gmail.com
Mon Apr 22 17:49:04 CEST 2013


Dirk Eibach <eibach <at> gdsys.de> writes:

> 
> From: Reinhard Pfau <pfau <at> gdsys.de>
> 
> if alen is 0: no longer start a write cycle before reading data.
> 
> Signed-off-by: Dirk Eibach <eibach <at> gdsys.de>
> Signed-off-by: Reinhard Pfau <pfau <at> gdsys.de>
> 

This will break my stand alone application, which relies on a zero address
len to provide i2c_probe functionality, since i2c_probe is not exported via
_exports.h.

Is there some other way to do i2c_probe in a stand alone application?

Thanks,
Jim





More information about the U-Boot mailing list