projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98b611
)
i2c: deblock i2c bus also if accessed before realocation
author
Holger Brunck
<holger.brunck@keymile.com>
Thu, 28 Jun 2012 04:30:22 +0000
(
04:30
+0000)
committer
Heiko Schocher
<hs@denx.de>
Tue, 31 Jul 2012 05:40:15 +0000
(07:40 +0200)
If we switch to a different i2c bus in changing the mux config for the
i2c mux, we have to be sure to deblock the bus also before realocation.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Heiko Schocher <hs@denx.de>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
common/cmd_i2c.c
patch
|
blob
|
history
diff --git
a/common/cmd_i2c.c
b/common/cmd_i2c.c
index 2cdc4eda8b511cc4f36fde83e8db1b41703ebe2b..795814d88f461d08c20804159baa6349e23710e5 100644
(file)
--- a/
common/cmd_i2c.c
+++ b/
common/cmd_i2c.c
@@
-1445,6
+1445,7
@@
int i2c_mux_ident_muxstring_f (uchar *buf)
oldpos = pos;
}
+ i2c_init_board();
return 0;
}