diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2012-03-01 17:56:35 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-04-24 09:40:04 +0200 |
commit | 2d344a2ab27d8704efd09088ee00be194b3556eb (patch) | |
tree | ba6728686cbe50feff296a1af8fe97a5cd388009 /drivers/i2c/Makefile | |
parent | 61ddce07f8b96c5df7d00466b4da9edaecb0eff1 (diff) | |
download | u-boot-imx-2d344a2ab27d8704efd09088ee00be194b3556eb.zip u-boot-imx-2d344a2ab27d8704efd09088ee00be194b3556eb.tar.gz u-boot-imx-2d344a2ab27d8704efd09088ee00be194b3556eb.tar.bz2 |
sh: i2c: Add support I2C controller of SH7734
Renesas SH7734 has two I2C interfaceis.
This supports these I2C.
V5: - include i2c.h.
- Add check of icsr bit polling logic.
- Implement i2c_probe.
V4: - Remove sh_i2c_dump_reg function.
- Use puts() when there's no format.
- Chnage check for I2C bus number.
- Remove space before the semi-colon.
V3: - Fix error for whitespace.
V2: - Changed bit control to use the clr|set|clrsetbits_* functions.
- Fix wrong comment style.
- Add new line before for loop in i2c_read.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Acked-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/i2c/Makefile')
-rw-r--r-- | drivers/i2c/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index f86e46c..42913f7 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile @@ -45,6 +45,7 @@ COBJS-$(CONFIG_TEGRA_I2C) += tegra_i2c.o COBJS-$(CONFIG_TSI108_I2C) += tsi108_i2c.o COBJS-$(CONFIG_U8500_I2C) += u8500_i2c.o COBJS-$(CONFIG_SH_I2C) += sh_i2c.o +COBJS-$(CONFIG_SH_SH7734_I2C) += sh_sh7734_i2c.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c) |