diff options
author | Tetsuyuki Kobayashi <koba@kmckk.co.jp> | 2012-09-13 19:07:58 (GMT) |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-10-16 03:47:20 (GMT) |
commit | 3ce2703d8f11b0b5c28409d8335f36bef258831b (patch) | |
tree | e9e461eae690f7fa90738961d712575a59583959 /include | |
parent | 57d7c80472d8c87f7c6d321f89a5aed47c865b5a (diff) | |
download | u-boot-fsl-qoriq-3ce2703d8f11b0b5c28409d8335f36bef258831b.tar.xz |
i2c: sh_i2c.c: adjust for SH73A0
Adjust i2c_raw_read() in sh_i2c.c to work for SH73A0.
After this patch, "i2c md" and "i2c mw" command on U-Boot work properly on KZM-A9-GT board.
Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/kzm9g.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h index 0132e9d..75b9257 100644 --- a/include/configs/kzm9g.h +++ b/include/configs/kzm9g.h @@ -163,7 +163,7 @@ #define CONFIG_SYS_I2C_SLAVE (0x7F) #define CONFIG_SH_I2C_DATA_HIGH (4) #define CONFIG_SH_I2C_DATA_LOW (5) -#define CONFIG_SH_I2C_CLOCK (41666666) +#define CONFIG_SH_I2C_CLOCK (104000000) /* 104 MHz */ #define CONFIG_SH_I2C_BASE0 (0xE6820000) #define CONFIG_SH_I2C_BASE1 (0xE6822000) |