diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-06-02 21:53:30 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:28 +0200 |
commit | 7d778916053aa579155c71e68debb0bde612b139 (patch) | |
tree | 22a41f21b3da6231fa4f7d8050ecb9dd099952f4 /include | |
parent | fd8223eaa94539b60d6a26e6bdf8f60146431951 (diff) | |
download | u-boot-imx-7d778916053aa579155c71e68debb0bde612b139.zip u-boot-imx-7d778916053aa579155c71e68debb0bde612b139.tar.gz u-boot-imx-7d778916053aa579155c71e68debb0bde612b139.tar.bz2 |
mx53smd: 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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx53smd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h index 0d7086d..1df20fa 100644 --- a/include/configs/mx53smd.h +++ b/include/configs/mx53smd.h @@ -52,7 +52,6 @@ #define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_MX53_PORT2 #define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_SYS_I2C_SLAVE 0xfe /* MMC Configs */ #define CONFIG_FSL_ESDHC |