summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-05-26 12:29:08 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-05-26 12:41:54 +0800
commit984391573602dc35c34f02da470d89ce0315f1c0 (patch)
tree085a7fcd20ccd736e275475291244bf1f5ba412d
parentb4d2e22a9ea04aac71407f7ef10c3290c006350c (diff)
downloadu-boot-imx-984391573602dc35c34f02da470d89ce0315f1c0.zip
u-boot-imx-984391573602dc35c34f02da470d89ce0315f1c0.tar.gz
u-boot-imx-984391573602dc35c34f02da470d89ce0315f1c0.tar.bz2
MLK-10972-2 imx: mx7dsabresd fix i2c index usage
i2c_pad_info3's i2c index should 2, but not 1. Correct it. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
-rw-r--r--board/freescale/mx7dsabresd/mx7dsabresd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c
index 0f1a0c4..351632d 100644
--- a/board/freescale/mx7dsabresd/mx7dsabresd.c
+++ b/board/freescale/mx7dsabresd/mx7dsabresd.c
@@ -917,7 +917,7 @@ int board_early_init_f(void)
#ifdef CONFIG_SYS_I2C_MXC
setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1);
- setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info3);
+ setup_i2c(2, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info3);
#endif
return 0;