summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2012-06-28 04:30:22 +0000
committerHeiko Schocher <hs@denx.de>2012-07-31 07:40:15 +0200
commit8ec038a6a590c8ac66137502766ba10334c531e9 (patch)
tree1c18a38f5a010e7aa6fe3ccbf527b09b7c852a33 /common
parentb98b611502f5e0a85a1f8e15cf46c470cb105614 (diff)
downloadu-boot-imx-8ec038a6a590c8ac66137502766ba10334c531e9.zip
u-boot-imx-8ec038a6a590c8ac66137502766ba10334c531e9.tar.gz
u-boot-imx-8ec038a6a590c8ac66137502766ba10334c531e9.tar.bz2
i2c: deblock i2c bus also if accessed before realocation
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>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c
index 2cdc4ed..795814d 100644
--- 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;
}