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

login
register
mail settings
Submitter Holger Brunck
Date Jan. 17, 2013, 12:47 p.m.
Message ID <1358426881-24117-2-git-send-email-holger.brunck@keymile.com>
Download mbox | patch
Permalink /patch/213246/
State Superseded
Delegated to: Kim Phillips
Headers show

Comments

Holger Brunck - Jan. 17, 2013, 12:47 p.m.
All boards form this serie use i2c. There is no need to #ifdef the
header.

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

Patch

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);