From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 31 Mar 2009 08:32:48 +0200 Subject: [U-Boot] [Patch V2] soft_i2c.c compiler/linker error In-Reply-To: References: Message-ID: <49D1B910.4070409@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Jens, 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 (wrong define order) This line is too long also s/uesd/used should be done ... I fix this, when apply this patch (or you send me a new one) bye Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany