summaryrefslogtreecommitdiff
path: root/board/keymile/mgsuvd
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-10-15 09:39:08 +0200
committerWolfgang Denk <wd@denx.de>2008-10-18 21:54:02 +0200
commitc24853644ddd2dd2e4246b5854a93e6254a14092 (patch)
tree4c3d35cd9f55e725fd1bd3c0c6b792cc74df403b /board/keymile/mgsuvd
parent4ca107effebfbabac1057c39632105dacef95957 (diff)
mgcoge, mgsuvd: add board specific I2C deblocking mechanism.
As documented in doc/I2C_Edge_Conditions, adding a board specific deblocking mechanism via CFG_I2C_INIT_BOARD for the mgcoge and mgsuvd board. This code was originally written by Keymile in association with Anatech and Atmel in 1998. The Code toggels the SCL until the SCA line goes to HIGH (max. 16 times). And after this, a start condition is sent. This is another approach to deblock the I2C Bus. The soft I2C driver actually sends 9 clocks with SDA High, and then a stop at the end, to deblock the I2C Bus. Maybe we should use the approach from Keymile as the new standard? Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/keymile/mgsuvd')
-rw-r--r--board/keymile/mgsuvd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keymile/mgsuvd/Makefile b/board/keymile/mgsuvd/Makefile
index efdd410b0c4..b2145f9ff70 100644
--- a/board/keymile/mgsuvd/Makefile
+++ b/board/keymile/mgsuvd/Makefile
@@ -28,7 +28,7 @@ endif
LIB = $(obj)lib$(BOARD).a
-COBJS = $(BOARD).o
+COBJS = $(BOARD).o ../common/common.o
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))