diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-07 22:50:41 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-07 22:50:41 -0400 |
commit | bfb5bfa3c58adc2ef5dbd1bb95b79b31e0dc221c (patch) | |
tree | 21753c7f94144a286584c1f631ad9bde89a1a438 /drivers/i2c/designware_i2c.c | |
parent | 7e58a3a148fb94e9ce09fb48d0ddd75c20ee7df9 (diff) | |
parent | 123dc510c6e79f0c94718e2e6b5e4074754aa629 (diff) |
Merge branch '2021-07-07-remove-non-migrated-platforms'
- Remove a large number of platforms that did not migrate to DM_PCI or
DM_USB by 2 years past the migration deadline and do not have a
migration imminent.
Diffstat (limited to 'drivers/i2c/designware_i2c.c')
-rw-r--r-- | drivers/i2c/designware_i2c.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 072803691e3..e57eed0f6cd 100644 --- a/drivers/i2c/designware_i2c.c +++ b/drivers/i2c/designware_i2c.c @@ -24,16 +24,6 @@ */ #define DW_I2C_COMP_TYPE 0x44570140 -#ifdef CONFIG_SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED -static int dw_i2c_enable(struct i2c_regs *i2c_base, bool enable) -{ - u32 ena = enable ? IC_ENABLE_0B : 0; - - writel(ena, &i2c_base->ic_enable); - - return 0; -} -#else static int dw_i2c_enable(struct i2c_regs *i2c_base, bool enable) { u32 ena = enable ? IC_ENABLE_0B : 0; @@ -55,7 +45,6 @@ static int dw_i2c_enable(struct i2c_regs *i2c_base, bool enable) return -ETIMEDOUT; } -#endif /* High and low times in different speed modes (in ns) */ enum { |