summaryrefslogtreecommitdiff
path: root/include/i2c.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-08-11 08:50:32 -0600
committerHeiko Schocher <hs@denx.de>2024-08-13 06:07:31 +0200
commita1e8cd22c804351c12bebc87bd0112871dfcf2fd (patch)
treec3709511ab94b9e38273ee7d858ff78f0ab892b4 /include/i2c.h
parent2109c6c178cc29e93da4d46ba4c1402c3753b272 (diff)
i2c: Remove CFG_I2C_MULTI_BUS
This is used by a few boards but we are years past the migration date, so let's drop it now. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: 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 1d3be3f6759..622540c8265 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -942,7 +942,7 @@ unsigned int i2c_get_bus_speed(void);
* only for backwardcompatibility, should go away if we switched
* completely to new multibus support.
*/
-#if CONFIG_IS_ENABLED(SYS_I2C_LEGACY) || defined(CFG_I2C_MULTI_BUS)
+#if CONFIG_IS_ENABLED(SYS_I2C_LEGACY)
# if !defined(CFG_SYS_MAX_I2C_BUS)
# define CFG_SYS_MAX_I2C_BUS 2
# endif