From 031ed2fa748ccfc746bd0e0073f8690c84a0d7b6 Mon Sep 17 00:00:00 2001 From: Vipin KUMAR Date: Sun, 26 Feb 2012 23:13:29 +0000 Subject: 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 Signed-off-by: Amit Virdi --- include/configs/spear-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/configs/spear-common.h') diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index 5fef8cce80..a79181565e 100644 --- a/include/configs/spear-common.h +++ b/include/configs/spear-common.h @@ -41,7 +41,7 @@ /* I2C driver configuration */ #define CONFIG_HARD_I2C -#define CONFIG_SPEAR_I2C +#define CONFIG_DW_I2C #define CONFIG_SYS_I2C_SPEED 400000 #define CONFIG_SYS_I2C_SLAVE 0x02 -- cgit v1.2.1