[U-Boot] [PATCH v2 01/16] km/common: remove unneeded ifdefs for I2C
Holger Brunck
holger.brunck at keymile.com
Mon Jan 21 14:55:13 CET 2013
All boards from this serie use i2c. There is no need to #ifdef the
header.
Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
---
Changes for v2:
- fix typo in commit message
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