mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
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>
This commit is contained in:
committed by
Heiko Schocher
parent
2d344a2ab2
commit
031ed2fa74
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user