projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b27a68
)
blackfin: fix building error by adding macro CONFIG_SYS_I2C
author
Sonic Zhang
<sonic.zhang@analog.com>
Mon, 9 Dec 2013 04:21:07 +0000
(12:21 +0800)
committer
Sonic 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
patch
|
blob
|
history
diff --git
a/include/configs/bf561-ezkit.h
b/include/configs/bf561-ezkit.h
index 404039ac230479804992c4ec51ef28d7492a05c8..fb6f94873af222f5e4d25a4790bf647ff0c42e0a 100644
(file)
--- 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 */