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