diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-12 21:09:56 -0600 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2017-05-15 06:18:30 +0200 |
commit | 69153988a6f4eda44257c6bc5afac484f8f95930 (patch) | |
tree | 4f3995cb48da7354d628689aaf09ab9fa3cfdd23 /common/stdio.c | |
parent | 64a144dcea038df2b58dd3120a880e89164af09f (diff) |
i2c: Finish dropping use of CONFIG_I2C_HARD
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/stdio.c')
-rw-r--r-- | common/stdio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/stdio.c b/common/stdio.c index 4d300175301..ee4f0bda9ea 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 /* |