i2c: Add support for designware i2c controller
authorVipin KUMAR <vipin.kumar@st.com>
Sun, 26 Feb 2012 23:13:29 +0000 (23:13 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 24 Apr 2012 07:56:37 +0000 (09:56 +0200)
commit031ed2fa748ccfc746bd0e0073f8690c84a0d7b6
tree405f6b6f5fd5f7adb2b6e34f13d575b23b2a3443
parent2d344a2ab27d8704efd09088ee00be194b3556eb
i2c: Add support for designware i2c controller

Earlier, a driver exists in the u-boot source for designware i2c interface. That
driver was specific to spear platforms. This patch implements the i2c controller
as a generic driver which can be used by multiple platforms

The driver files are now renamed to designware_i2c.c and designware_i2c.h and
these are moved into drivers/i2c folder for reusability by other
platforms

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
arch/arm/include/asm/arch-spear/spr_i2c.h [deleted file]
drivers/i2c/Makefile
drivers/i2c/designware_i2c.c [new file with mode: 0644]
drivers/i2c/designware_i2c.h [new file with mode: 0644]
drivers/i2c/spr_i2c.c [deleted file]
include/configs/spear-common.h