diff options
author | Ye.Li <B37916@freescale.com> | 2014-06-04 17:17:17 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-06-17 11:13:40 +0800 |
commit | 192c10e56fce9cb6e2b7a0ad87cce323a1f31b98 (patch) | |
tree | a51f4a1aef52163de22fc33a80a39e5734978cc3 /board | |
parent | f82a16d75a7131e68def8b02b2e256597714a871 (diff) | |
download | u-boot-imx-192c10e56fce9cb6e2b7a0ad87cce323a1f31b98.zip u-boot-imx-192c10e56fce9cb6e2b7a0ad87cce323a1f31b98.tar.gz u-boot-imx-192c10e56fce9cb6e2b7a0ad87cce323a1f31b98.tar.bz2 |
ENGR00315894-14 i.mx6:sabreauto/sabresd/slevk Remove unused CONFIG_SYS_I2C_SLAVE
The CONFIG_SYS_I2C is enabled on i.mx6 boards. So the CONFIG_SYS_I2C_SLAVE becomes
to unused. Remove this setting.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx6qsabreauto/mx6qsabreauto.c | 3 | ||||
-rw-r--r-- | board/freescale/mx6sabresd/mx6sabresd.c | 2 | ||||
-rw-r--r-- | board/freescale/mx6slevk/mx6slevk.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/board/freescale/mx6qsabreauto/mx6qsabreauto.c b/board/freescale/mx6qsabreauto/mx6qsabreauto.c index 70338d2..1091328 100644 --- a/board/freescale/mx6qsabreauto/mx6qsabreauto.c +++ b/board/freescale/mx6qsabreauto/mx6qsabreauto.c @@ -646,8 +646,7 @@ int board_late_init(void) #endif #ifdef CONFIG_SYS_I2C_MXC - setup_i2c(1, CONFIG_SYS_I2C_SPEED, - CONFIG_SYS_I2C_SLAVE, &i2c_pad_info1); + setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1); ret = setup_pmic_voltages(); if (ret) return -1; diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c index 2889b6c..c4c451e 100644 --- a/board/freescale/mx6sabresd/mx6sabresd.c +++ b/board/freescale/mx6sabresd/mx6sabresd.c @@ -792,7 +792,7 @@ int board_late_init(void) #ifdef CONFIG_SYS_I2C_MXC setup_i2c(1, CONFIG_SYS_I2C_SPEED, - CONFIG_SYS_I2C_SLAVE, &i2c_pad_info1); + 0x7f, &i2c_pad_info1); ret = setup_pmic_voltages(); if (ret) return -1; diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c index 3fb6991..e98170b 100644 --- a/board/freescale/mx6slevk/mx6slevk.c +++ b/board/freescale/mx6slevk/mx6slevk.c @@ -743,7 +743,7 @@ int board_late_init(void) #ifdef CONFIG_SYS_I2C_MXC setup_i2c(0, CONFIG_SYS_I2C_SPEED, - CONFIG_SYS_I2C_SLAVE, &i2c_pad_info0); + 0x7f, &i2c_pad_info0); ret = setup_pmic_voltages(); if (ret) return -1; |