diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-06-02 21:53:28 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:28 +0200 |
commit | 6ce85ad5c76a7d6a9c50c39842d9c5705f98e229 (patch) | |
tree | afc9027df986df86acb801627cbd3cd4050e7474 | |
parent | b6a5fbf4bfc139d48b91e1e7b3ccbabb37727e80 (diff) | |
download | u-boot-imx-6ce85ad5c76a7d6a9c50c39842d9c5705f98e229.zip u-boot-imx-6ce85ad5c76a7d6a9c50c39842d9c5705f98e229.tar.gz u-boot-imx-6ce85ad5c76a7d6a9c50c39842d9c5705f98e229.tar.bz2 |
mx53evk: Remove CONFIG_SYS_I2C_SLAVE definition
According to include/i2c.h:
"/*
* Many boards/controllers/drivers don't support an I2C slave interface so
* provide a default slave address for them for use in common code. A real
* value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does
* support a slave interface.
*/
#ifndef CONFIG_SYS_I2C_SLAVE
#define CONFIG_SYS_I2C_SLAVE 0xfe
#endif
"
As the mxc_i2c driver does not support slave mode, there is no need
to define CONFIG_SYS_I2C_SLAVE in i.MX board file.
Cc: Jason Liu <r64343@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
-rw-r--r-- | include/configs/mx53evk.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h index a5f32e3..8f2c03f 100644 --- a/include/configs/mx53evk.h +++ b/include/configs/mx53evk.h @@ -55,7 +55,6 @@ #define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_MX53_PORT2 1 #define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_SYS_I2C_SLAVE 0xfe /* PMIC Configs */ #define CONFIG_PMIC |