diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-06-02 21:53:26 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:28 +0200 |
commit | bd6f402b2af061bda27a68e7b7aa8cfc03a2f585 (patch) | |
tree | 14451f1179d4e8112160ee488347775e71ee5d9e | |
parent | 29ee7f5487b8081d264e91daaa2ae98577cca7aa (diff) | |
download | u-boot-imx-bd6f402b2af061bda27a68e7b7aa8cfc03a2f585.zip u-boot-imx-bd6f402b2af061bda27a68e7b7aa8cfc03a2f585.tar.gz u-boot-imx-bd6f402b2af061bda27a68e7b7aa8cfc03a2f585.tar.bz2 |
mx35pdk: 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.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
-rw-r--r-- | include/configs/mx35pdk.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h index 016864a..ebbd371 100644 --- a/include/configs/mx35pdk.h +++ b/include/configs/mx35pdk.h @@ -59,7 +59,6 @@ #define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_MX35_PORT1 #define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_SYS_I2C_SLAVE 0xfe #define CONFIG_MXC_SPI #define CONFIG_MXC_GPIO |