summaryrefslogtreecommitdiffstats
path: root/include/i2c.h
diff options
context:
space:
mode:
authorŁukasz Majewski <l.majewski@samsung.com>2013-08-16 15:31:45 +0200
committerHeiko Schocher <hs@denx.de>2013-08-20 11:15:32 +0200
commitea0f73abb1afbf5bb4bf34f5a5eeb7896111df97 (patch)
treee10c84f8e4d6e304a0c34b1ab9d6700a6601ad80 /include/i2c.h
parent9c3f77eb3bc0e1e24fc66bd41655fecddb6403ec (diff)
downloadblackbird-obmc-uboot-ea0f73abb1afbf5bb4bf34f5a5eeb7896111df97.tar.gz
blackbird-obmc-uboot-ea0f73abb1afbf5bb4bf34f5a5eeb7896111df97.zip
i2c:multibus:fix: Correct I2C_MULTI_BUS value when support for many buses is enabled
The I2C_MULTI_BUS needs to be defined for correct I2C operation with many software emulated I2C controllers. This fix restores correct value of the I2C_MULTI_BUS changed by following commit: SHA1: 385c9ef5a7215b2b0c22836fee6c692dfc8559d7 i2c: add i2c_core and prepare for new multibus support Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/i2c.h b/include/i2c.h
index d8674efe58..8fd17d190a 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -390,7 +390,7 @@ unsigned int i2c_get_bus_speed(void);
# if !defined(CONFIG_SYS_MAX_I2C_BUS)
# define CONFIG_SYS_MAX_I2C_BUS 2
# endif
-# define I2C_MULTI_BUS 0
+# define I2C_MULTI_BUS 1
#else
# define CONFIG_SYS_MAX_I2C_BUS 1
# define I2C_MULTI_BUS 0
OpenPOWER on IntegriCloud