From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Sun, 3 Jun 2012 04:53:26 -0300 Subject: [U-Boot] [PATCH 2/6] mx35pdk: Remove CONFIG_SYS_I2C_SLAVE definition In-Reply-To: <1338710010-13709-1-git-send-email-festevam@gmail.com> References: <1338710010-13709-1-git-send-email-festevam@gmail.com> Message-ID: <1338710010-13709-2-git-send-email-festevam@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Fabio Estevam 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 --- 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 bd57baa..5f75018 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 -- 1.7.1