]> git.dujemihanovic.xyz Git - u-boot.git/commit
mx53ard: Remove CONFIG_SYS_I2C_SLAVE definition
authorFabio Estevam <festevam@gmail.com>
Sat, 2 Jun 2012 21:53:27 +0000 (21:53 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:28 +0000 (14:07 +0200)
commitb6a5fbf4bfc139d48b91e1e7b3ccbabb37727e80
tree1cba5ae28a1e3f187fd3458c8505b38db785bd52
parentbd6f402b2af061bda27a68e7b7aa8cfc03a2f585
mx53ard: 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/mx53ard.h