From b6a5fbf4bfc139d48b91e1e7b3ccbabb37727e80 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sat, 2 Jun 2012 21:53:27 +0000 Subject: [PATCH] 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 --- include/configs/mx53ard.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h index 8da381f01e..ffc799cd7f 100644 --- a/include/configs/mx53ard.h +++ b/include/configs/mx53ard.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 -- 2.39.2