]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mxc_i2c: remove ifdef of CONFIG_HARD_I2C
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 19 Jul 2012 08:18:03 +0000 (08:18 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 31 Jul 2012 05:41:23 +0000 (07:41 +0200)
This is always selected when CONFIG_I2C_MXC is
selected, so it adds no value.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/i2c/mxc_i2c.c

index c0c45fd36a1b16a31dfa25cdc7fcb4803a4cc8d3..0b46c9c7aa4b091107d982eea2343bb468bac789 100644 (file)
  */
 
 #include <common.h>
-#include <asm/io.h>
-
-#if defined(CONFIG_HARD_I2C)
-
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
+#include <asm/io.h>
 #include <i2c.h>
 
 struct mxc_i2c_regs {
@@ -446,4 +443,3 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buf, int len)
 
        return ret;
 }
-#endif /* CONFIG_HARD_I2C */