summaryrefslogtreecommitdiff
path: root/include/configs/bf561-ezkit.h
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2013-12-09 12:21:07 +0800
committerSonic Zhang <sonic.zhang@analog.com>2013-12-16 11:38:32 +0800
commitfa88d88f82cb8e986c07e870c80eba4873ec0cf8 (patch)
treec398fb16e79a28e1056a6bae18b6d92c61ce2bd5 /include/configs/bf561-ezkit.h
parent7b27a685bfc9abb58d6df843263decfe1be2ac35 (diff)
downloadu-boot-imx-fa88d88f82cb8e986c07e870c80eba4873ec0cf8.zip
u-boot-imx-fa88d88f82cb8e986c07e870c80eba4873ec0cf8.tar.gz
u-boot-imx-fa88d88f82cb8e986c07e870c80eba4873ec0cf8.tar.bz2
blackfin: fix building error by adding macro CONFIG_SYS_I2C
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'include/configs/bf561-ezkit.h')
-rw-r--r--include/configs/bf561-ezkit.h1
1 files changed, 1 insertions, 0 deletions
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 */