diff options
author | Simon Glass <sjg@chromium.org> | 2020-01-23 11:48:18 -0700 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2020-01-27 07:22:53 +0100 |
commit | 54290c666e12f9cad12f368980071f285e1ada24 (patch) | |
tree | 72c32e092d6356d51a89e3cbe5eccddbcef8f532 /drivers/i2c/designware_i2c.h | |
parent | 642400ced6b5947f8f7aa80558fdbdf1b173a735 (diff) |
i2c: designware_i2c: Update to use standard enums for speed
Update this driver to use the new standard enums for speed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/designware_i2c.h')
-rw-r--r-- | drivers/i2c/designware_i2c.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/i2c/designware_i2c.h b/drivers/i2c/designware_i2c.h index 8789c7d8ce..5289ab0683 100644 --- a/drivers/i2c/designware_i2c.h +++ b/drivers/i2c/designware_i2c.h @@ -135,19 +135,6 @@ struct i2c_regs { #define IC_STATUS_TFNF 0x0002 #define IC_STATUS_ACT 0x0001 -/* Speed Selection */ -enum i2c_speed_mode { - IC_SPEED_MODE_STANDARD, - IC_SPEED_MODE_FAST, - IC_SPEED_MODE_HIGH, - - IC_SPEED_MODE_COUNT, -}; - -#define I2C_HIGH_SPEED 3400000 -#define I2C_FAST_SPEED 400000 -#define I2C_STANDARD_SPEED 100000 - /** * struct dw_scl_sda_cfg - I2C timing configuration * |