[U-Boot] [PATCH 2/7] i2c: mv_i2c.c: Remove CONFIG_HARD_I2C
Stefan Roese
sr at denx.de
Fri Sep 16 15:07:50 CEST 2016
CONFIG_HARD_I2C is not needed, lets remove it.
Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Nadav Haklai <nadavh at marvell.com>
Cc: Kostya Porotchkin <kostap at marvell.com>
Cc: Wilson Ding <dingwei at marvell.com>
Cc: Victor Gu <xigu at marvell.com>
Cc: Hua Jing <jinghua at marvell.com>
Cc: Terry Zhou <bjzhou at marvell.com>
Cc: Hanna Hawa <hannah at marvell.com>
Cc: Haim Boot <hayim at marvell.com>
Cc: Heiko Schocher <hs at denx.de>
---
drivers/i2c/mv_i2c.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/i2c/mv_i2c.c b/drivers/i2c/mv_i2c.c
index 0877c51..36482d5 100644
--- a/drivers/i2c/mv_i2c.c
+++ b/drivers/i2c/mv_i2c.c
@@ -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 */
--
2.9.3
More information about the U-Boot
mailing list