projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a82b10
)
km/common: remove unneeded ifdefs for I2C
author
Holger Brunck
<holger.brunck@keymile.com>
Mon, 21 Jan 2013 03:55:13 +0000
(
03:55
+0000)
committer
Kim Phillips
<kim.phillips@freescale.com>
Fri, 15 Feb 2013 23:47:19 +0000
(17:47 -0600)
All boards from 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
patch
|
blob
|
history
diff --git
a/board/keymile/common/common.c
b/board/keymile/common/common.c
index 6f407b78f259f35805f6a78f1159550530483561..468c755d67c6cb6c3694e0701899bf3e1a35920d 100644
(file)
--- 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);