[U-Boot] [PATCH 2/2] powerpc/82xx/km: removed unneeded ifdef

Holger Brunck holger.brunck at keymile.com
Fri Jan 18 11:28:17 CET 2013


All boards from this serie uses i2c. So we can drop these unneeded
defines.

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

diff --git a/board/keymile/km82xx/km82xx.c b/board/keymile/km82xx/km82xx.c
index 8cf3035..ddf4795 100644
--- a/board/keymile/km82xx/km82xx.c
+++ b/board/keymile/km82xx/km82xx.c
@@ -31,10 +31,7 @@
 #include <libfdt.h>
 #endif
 
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C)
 #include <i2c.h>
-#endif
-
 #include "../common/common.h"
 
 /*
-- 
1.7.1



More information about the U-Boot mailing list