]> git.sur5r.net Git - u-boot/commitdiff
blackfin: fix building error by adding macro CONFIG_SYS_I2C
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 9 Dec 2013 04:21:07 +0000 (12:21 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Mon, 16 Dec 2013 03:38:32 +0000 (11:38 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
include/configs/bf561-ezkit.h

index 404039ac230479804992c4ec51ef28d7492a05c8..fb6f94873af222f5e4d25a4790bf647ff0c42e0a 100644 (file)
@@ -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 */