diff options
author | Tetsuyuki Kobayashi <koba@kmckk.co.jp> | 2012-09-13 19:07:57 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-10-16 05:47:19 +0200 |
commit | 57d7c80472d8c87f7c6d321f89a5aed47c865b5a (patch) | |
tree | 6733971f01e4268382b7eae7c6e403fda8874652 | |
parent | b1af67fe5e019bbfaca9ca4ec7086fbdb69c440a (diff) | |
download | u-boot-imx-57d7c80472d8c87f7c6d321f89a5aed47c865b5a.zip u-boot-imx-57d7c80472d8c87f7c6d321f89a5aed47c865b5a.tar.gz u-boot-imx-57d7c80472d8c87f7c6d321f89a5aed47c865b5a.tar.bz2 |
i2c: sh_i2c.c: correct BUSY bit define in ICSR
Correct BUSY bit define in ICSR from (1<<3) to (1<<4).
Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
-rw-r--r-- | drivers/i2c/sh_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index 035069f..eced61d 100644 --- a/drivers/i2c/sh_i2c.c +++ b/drivers/i2c/sh_i2c.c @@ -43,7 +43,7 @@ static struct sh_i2c *base; #define SH_I2C_ICCR_SCP (1 << 0) /* ICSR / ICIC */ -#define SH_IC_BUSY (1 << 3) +#define SH_IC_BUSY (1 << 4) #define SH_IC_TACK (1 << 2) #define SH_IC_WAIT (1 << 1) #define SH_IC_DTE (1 << 0) |