]> git.sur5r.net Git - u-boot/commitdiff
i2c: mv_i2c.c: Remove CONFIG_HARD_I2C
authorStefan Roese <sr@denx.de>
Fri, 16 Sep 2016 13:07:50 +0000 (15:07 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 26 Sep 2016 08:41:03 +0000 (10:41 +0200)
CONFIG_HARD_I2C is not needed, lets remove it.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Wilson Ding <dingwei@marvell.com>
Cc: Victor Gu <xigu@marvell.com>
Cc: Hua Jing <jinghua@marvell.com>
Cc: Terry Zhou <bjzhou@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Cc: Heiko Schocher <hs@denx.de>
drivers/i2c/mv_i2c.c

index 0877c51c6cb4e946d55c7a8d6080148a80877fe0..36482d5af3a35a113676a6554fa3e5601ca95c95 100644 (file)
@@ -20,7 +20,6 @@
 #include <common.h>
 #include <asm/io.h>
 
-#ifdef CONFIG_HARD_I2C
 #include <i2c.h>
 #include "mv_i2c.h"
 
@@ -468,4 +467,3 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len)
 
        return 0;
 }
-#endif /* CONFIG_HARD_I2C */