mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-22 08:53:40 +08:00
blackfin: fix building error by adding macro CONFIG_SYS_I2C
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
@@ -90,6 +90,7 @@
|
||||
*/
|
||||
#define CONFIG_SYS_I2C_SOFT
|
||||
#ifdef CONFIG_SYS_I2C_SOFT
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SOFT_I2C_GPIO_SCL GPIO_PF0
|
||||
#define CONFIG_SOFT_I2C_GPIO_SDA GPIO_PF1
|
||||
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
|
||||
|
||||
Reference in New Issue
Block a user