summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-06-02 21:53:25 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:28 +0200
commit29ee7f5487b8081d264e91daaa2ae98577cca7aa (patch)
tree92d7b19aa5a81c214e14120298f0cb69caeff3a8
parent3e5a0f35f1785a65d2269f21a3aaec335140a08c (diff)
downloadu-boot-imx-29ee7f5487b8081d264e91daaa2ae98577cca7aa.zip
u-boot-imx-29ee7f5487b8081d264e91daaa2ae98577cca7aa.tar.gz
u-boot-imx-29ee7f5487b8081d264e91daaa2ae98577cca7aa.tar.bz2
imx31_phycore: 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>
-rw-r--r--include/configs/imx31_phycore.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h
index 1728358..acbd670 100644
--- a/include/configs/imx31_phycore.h
+++ b/include/configs/imx31_phycore.h
@@ -56,7 +56,6 @@
#define CONFIG_I2C_MXC
#define CONFIG_SYS_I2C_MX31_PORT2
#define CONFIG_SYS_I2C_SPEED 100000
-#define CONFIG_SYS_I2C_SLAVE 0xfe
#define CONFIG_MXC_UART
#define CONFIG_MXC_UART_BASE UART1_BASE