summaryrefslogtreecommitdiffstats
path: root/include/configs/spear-common.h
diff options
context:
space:
mode:
authorVipin KUMAR <vipin.kumar@st.com>2012-02-26 23:13:29 +0000
committerHeiko Schocher <hs@denx.de>2012-04-24 09:56:37 +0200
commit031ed2fa748ccfc746bd0e0073f8690c84a0d7b6 (patch)
tree405f6b6f5fd5f7adb2b6e34f13d575b23b2a3443 /include/configs/spear-common.h
parent2d344a2ab27d8704efd09088ee00be194b3556eb (diff)
downloadblackbird-obmc-uboot-031ed2fa748ccfc746bd0e0073f8690c84a0d7b6.tar.gz
blackbird-obmc-uboot-031ed2fa748ccfc746bd0e0073f8690c84a0d7b6.zip
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>
Diffstat (limited to 'include/configs/spear-common.h')
-rw-r--r--include/configs/spear-common.h2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud