summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-07-08 16:16:40 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2015-07-08 16:16:40 +0200
commit059ae30901209d8c0f43390ba0241e0e5f583138 (patch)
treec73b24e11aee32023f233cecce5f78f6dd029c78
parent26d82301d5b8b425f915776c4b86f856669c326d (diff)
colibri_imx6.c: fix setup of I2C3
Use the correct I2C instance for the I2C going to SODIMM_194/196.
-rw-r--r--board/toradex/colibri_imx6/colibri_imx6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c
index e625762e514..50d1d1f7b68 100644
--- a/board/toradex/colibri_imx6/colibri_imx6.c
+++ b/board/toradex/colibri_imx6/colibri_imx6.c
@@ -615,7 +615,7 @@ int board_init(void)
/* address of boot parameters */
gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
- setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1);
+ setup_i2c(2, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1);
setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info_loc);
#ifdef CONFIG_TRDX_CMD_IMX_MFGR