diff options
author | York Sun <yorksun@freescale.com> | 2015-03-20 10:20:40 -0700 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-04-23 08:55:53 -0700 |
commit | f8cb101e1e3f5ee2007b78b6b12e24120385aeac (patch) | |
tree | 7c7f6856d036f7f873b672143a4c2266d98f392c /include/configs/ls2085a_common.h | |
parent | 585acc9de65554e2d77dc3d30a65d59b8766ba39 (diff) | |
download | u-boot-imx-f8cb101e1e3f5ee2007b78b6b12e24120385aeac.zip u-boot-imx-f8cb101e1e3f5ee2007b78b6b12e24120385aeac.tar.gz u-boot-imx-f8cb101e1e3f5ee2007b78b6b12e24120385aeac.tar.bz2 |
driver/i2c/mxc: Enable I2C bus 3 and 4
Some SoCs have more than two I2C busses. Instead of adding ifdef
to the driver, macros are put into board header file where
CONFIG_SYS_I2C_MXC is defined.
Signed-off-by: York Sun <yorksun@freescale.com>
CC: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/ls2085a_common.h')
-rw-r--r-- | include/configs/ls2085a_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h index aca7301..26ef32a 100644 --- a/include/configs/ls2085a_common.h +++ b/include/configs/ls2085a_common.h @@ -84,6 +84,8 @@ #define CONFIG_CMD_I2C #define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_MXC +#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_SYS_I2C_MXC_I2C4 /* enable I2C bus 4 */ #define CONFIG_SYS_MXC_I2C1_SPEED 40000000 #define CONFIG_SYS_MXC_I2C2_SPEED 40000000 |