diff options
author | Tom Rini <trini@konsulko.com> | 2021-05-22 08:47:14 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-07 22:22:42 -0400 |
commit | 570c3dcfc153e0f18bd897630236da6605dcbe7e (patch) | |
tree | ed107cfe6a18ec50aadb7cec478be61a60dba9f8 /drivers/i2c/designware_i2c.c | |
parent | d7221d0d660755fd395734afa4cce2948e5e5fa8 (diff) | |
download | u-boot-570c3dcfc153e0f18bd897630236da6605dcbe7e.tar.gz |
arm: Remove spear600 boards and the rest of SPEAr support
These boards have not been converted to CONFIG_DM_USB by the deadline
and is also missing conversion to CONFIG_DM. Remove them. As this is
the last of the SPEAr platforms, so remove the rest of the remaining
support as well.
Cc: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
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 { |