diff options
author | Luotao Fu <l.fu@pengutronix.de> | 2007-11-14 18:58:33 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-11-17 01:55:57 +0100 |
commit | fd329e6f05bbdfe6bd71b0e09f0c76d3b0a025a5 (patch) | |
tree | 9a27e8a3db2f2f0e7a74e170d81b2344b94b77a8 /include/configs | |
parent | 429c180edad038f91c989cb14b478228092e7054 (diff) |
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>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/rsdproto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/rsdproto.h b/include/configs/rsdproto.h index 814082ccc6..40a05fa5e8 100644 --- a/include/configs/rsdproto.h +++ b/include/configs/rsdproto.h @@ -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 */ |