Skip to content
Snippets Groups Projects
Commit 24cd738b authored by Troy Kisky's avatar Troy Kisky Committed by Heiko Schocher
Browse files

mxc_i2c: remove ifdef of CONFIG_HARD_I2C


This is always selected when CONFIG_I2C_MXC is
selected, so it adds no value.

Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
parent 1c076dba
No related branches found
No related tags found
No related merge requests found
...@@ -31,12 +31,9 @@ ...@@ -31,12 +31,9 @@
*/ */
#include <common.h> #include <common.h>
#include <asm/io.h>
#if defined(CONFIG_HARD_I2C)
#include <asm/arch/clock.h> #include <asm/arch/clock.h>
#include <asm/arch/imx-regs.h> #include <asm/arch/imx-regs.h>
#include <asm/io.h>
#include <i2c.h> #include <i2c.h>
struct mxc_i2c_regs { struct mxc_i2c_regs {
...@@ -446,4 +443,3 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buf, int len) ...@@ -446,4 +443,3 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buf, int len)
return ret; return ret;
} }
#endif /* CONFIG_HARD_I2C */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment