From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Scharsig Date: Mon, 30 Mar 2009 10:00:18 +0200 Subject: [U-Boot] [Patch] soft_i2c.c compiler/linker error In-Reply-To: <49D05724.7050503@denx.de> References: <20090327104606.GB7185@game.jcrosoft.org> <49D05724.7050503@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Heiko Schocher schrieb: > Hello Jean-Christophe > > Jean-Christophe PLAGNIOL-VILLARD wrote: >> 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 >>> >> NACK >> >> you must implement it >> > > It is implemented in the driver, but not activated, because > wrong define order ... I think this patch is OK. > > bye > Heiko > Thanks for the confirmation. That was my thought. Only my description was bad or not completely. regards Jens