[U-Boot] [PATCH 2/6] blackfin: fix building error by adding macro CONFIG_SYS_I2C

Sonic Zhang sonic.adi at gmail.com
Mon Dec 9 09:14:06 CET 2013


From: Sonic Zhang <sonic.zhang at analog.com>

Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
---

 include/configs/bf561-ezkit.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/bf561-ezkit.h b/include/configs/bf561-ezkit.h
index 404039a..fb6f948 100644
--- a/include/configs/bf561-ezkit.h
+++ b/include/configs/bf561-ezkit.h
@@ -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 */
-- 
1.7.9.5



More information about the U-Boot mailing list