Re: [U-Boot] [PATCH] at91rm9200: fix errors with CONFIG_CMD_I2C_TREE

2008-09-03 Thread Jens Scharsig
It's the same like first, but i2c_get_bus_speed returns CFG_I2C_SPEED instead of 0. I think this is the better value. This patch prevents linker error on AT91RM9200 boards, if CONFIG_CMD_I2_TREE is set. It implements i2c_set_bus_speed and i2c_get_bus_speed as a dummy function. Signed-off-by: Jens

[U-Boot] [PATCH] at91rm9200: fix errors with CONFIG_CMD_I2C_TREE

2008-09-02 Thread Jens Scharsig
This patch prevents linker error on AT91RM9200 boards, if CONFIG_CMD_I2_TREE is set. It implements i2c_set_bus_speed and i2c_get_bus_speed as a dummy function. Signed-off-by: Jens Scharsig <[EMAIL PROTECTED]> --- diff --git a/cpu/arm920t/at91rm9200/i2c.c b/cpu/arm920t/at91rm9200/i2c.c index 826ce