[U-Boot] [Patch] soft_i2c.c compiler/linker error

Jens Scharsig esw at bus-elektronik.de
Fri Mar 27 12:30:31 CET 2009


Jean-Christophe PLAGNIOL-VILLARD schrieb:
> On 11:31 Fri 27 Mar     , Jens Scharsig wrote:
>> This patch fix the compiler/linker errors
>>
>> common/cmd_i2c.c:1252: undefined reference to `i2c_get_bus_speed'
>> common/cmd_i2c.c:1256: undefined reference to `i2c_set_bus_speed'
>>
>> if board use CONFIG_I2C_CMD_TREE and CONFIG_I2C_MULTI_BUS is not uesd/undef
>>
>> Signed-off-by: Jens Scharsig <esw at bus-elektronik.de>
> NACK
> 
> you must implement it

Pleace a liltle bit more informations

What exactly must I implement? 

I2C_MULTI_BUS or i2c_get_bus_speed / i2c_set_bus_speed

Is the driver (soft_i2c.c) not the right pleace for i2c_set/get_bus_speed?

Best Regards,
Jens Scharsig



More information about the U-Boot mailing list