Skip to content
Snippets Groups Projects
Commit ea0f73ab authored by Łukasz Majewski's avatar Łukasz Majewski Committed by Heiko Schocher
Browse files

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: 385c9ef5
i2c: add i2c_core and prepare for new multibus support

Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
Cc: Heiko Schocher <hs@denx.de>
parent 9c3f77eb
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment