Fix the i2c frequency and default address in rsdproto board

rsdproto board support has wrong I2C frequency and wrong return value
handling.

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
This commit is contained in:
Luotao Fu
2007-11-14 18:58:33 +01:00
committed by Wolfgang Denk
parent 429c180eda
commit fd329e6f05
2 changed files with 4 additions and 4 deletions

View File

@@ -92,8 +92,8 @@
/* enable I2C */
#define CONFIG_HARD_I2C 1 /* I2C with hardware support */
#define CFG_I2C_SPEED 400000 /* I2C speed and slave address */
#define CFG_I2C_SLAVE 0x7F
#define CFG_I2C_SPEED 50000 /* I2C speed and slave address */
#define CFG_I2C_SLAVE 0x30
/* system clock rate (CLKIN) - equal to the 60x and local bus speed */