diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-11 08:50:31 -0600 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2024-08-13 06:06:02 +0200 |
commit | 2109c6c178cc29e93da4d46ba4c1402c3753b272 (patch) | |
tree | d854cf479ef1806d317e6fc66a8c496d42561e95 | |
parent | ec1778ea81dbc8b3ad8eff09dfd7b3a7c90b6cb4 (diff) |
i2c: Remove IC2_xxx enum
This is only used by devkit3250 which is being removed. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
-rw-r--r-- | drivers/usb/host/ohci-lpc32xx.c | 4 | ||||
-rw-r--r-- | include/i2c.h | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/usb/host/ohci-lpc32xx.c b/drivers/usb/host/ohci-lpc32xx.c index ed04cae7afe..bf89bf8ab49 100644 --- a/drivers/usb/host/ohci-lpc32xx.c +++ b/drivers/usb/host/ohci-lpc32xx.c @@ -94,10 +94,6 @@ static int isp1301_set_value(struct udevice *dev, int reg, u8 value) static void isp1301_configure(struct udevice *dev) { -#if !CONFIG_IS_ENABLED(DM_I2C) - i2c_set_bus_num(I2C_2); -#endif - /* * LPC32XX only supports DAT_SE0 USB mode * This sequence is important diff --git a/include/i2c.h b/include/i2c.h index 8d91b24b43b..1d3be3f6759 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -966,12 +966,6 @@ static inline void I2C_SET_BUS(unsigned int bus) i2c_set_bus_num(bus); } -/* Multi I2C definitions */ -enum { - I2C_0, I2C_1, I2C_2, I2C_3, I2C_4, I2C_5, I2C_6, I2C_7, - I2C_8, I2C_9, I2C_10, -}; - /** * Find the I2C bus number by given a FDT I2C node. * |