]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mx53smd: Remove CONFIG_SYS_I2C_SLAVE definition
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 2 Jun 2012 21:53:30 +0000 (21:53 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:28 +0000 (14:07 +0200)
commit7d778916053aa579155c71e68debb0bde612b139
tree22a41f21b3da6231fa4f7d8050ecb9dd099952f4
parentfd8223eaa94539b60d6a26e6bdf8f60146431951
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>
include/configs/mx53smd.h