[U-Boot] [PATCH 01/15] km/common: remove unneeded ifdefs for I2C

Holger Brunck holger.brunck at keymile.com
Thu Jan 17 13:47:47 CET 2013


All boards form this serie use i2c. There is no need to #ifdef the
header.

Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
---
 board/keymile/common/common.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c
index 6f407b7..468c755 100644
--- a/board/keymile/common/common.c
+++ b/board/keymile/common/common.c
@@ -38,9 +38,7 @@
 #include "post.h"
 #endif
 #include "common.h"
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C)
 #include <i2c.h>
-#endif
 
 #if !defined(CONFIG_MPC83xx)
 static void i2c_write_start_seq(void);
-- 
1.7.1



More information about the U-Boot mailing list