aboutsummaryrefslogtreecommitdiff
path: root/common/stdio.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-15 13:01:26 -0400
committerTom Rini <trini@konsulko.com>2017-05-15 13:01:26 -0400
commitcb33bda44f4bbf6fb58adf41dced313ca38da6fc (patch)
tree8545cfc94e15989b99e587a22296ec7bc428e5b1 /common/stdio.c
parent50749d2ac30dd7af94d8c9ed64276f92d9d396f5 (diff)
parentce3b5d69112b1adc878e06586c1bc819414309be (diff)
Merge branch 'master' of git://git.denx.de/u-boot-i2c
Diffstat (limited to 'common/stdio.c')
-rw-r--r--common/stdio.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/stdio.c b/common/stdio.c
index 4d30017530..ee4f0bda9e 100644
--- a/common/stdio.c
+++ b/common/stdio.c
@@ -21,7 +21,7 @@
#include <logbuff.h>
#endif
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C)
+#if defined(CONFIG_SYS_I2C)
#include <i2c.h>
#endif
@@ -346,9 +346,6 @@ int stdio_add_devices(void)
#ifdef CONFIG_SYS_I2C
i2c_init_all();
#else
-#if defined(CONFIG_HARD_I2C)
- i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
-#endif
#endif
#ifdef CONFIG_DM_VIDEO
/*