aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/designware_i2c.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-05-22 08:47:14 -0400
committerTom Rini <trini@konsulko.com>2021-07-07 22:22:42 -0400
commit570c3dcfc153e0f18bd897630236da6605dcbe7e (patch)
treeed107cfe6a18ec50aadb7cec478be61a60dba9f8 /drivers/i2c/designware_i2c.c
parentd7221d0d660755fd395734afa4cce2948e5e5fa8 (diff)
downloadu-boot-570c3dcfc153e0f18bd897630236da6605dcbe7e.zip
u-boot-570c3dcfc153e0f18bd897630236da6605dcbe7e.tar.gz
u-boot-570c3dcfc153e0f18bd897630236da6605dcbe7e.tar.bz2
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.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c
index 0728036..e57eed0 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 {