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

login
register
mail settings
Submitter Holger Brunck
Date Jan. 18, 2013, 10:28 a.m.
Message ID <1358504897-6688-2-git-send-email-holger.brunck@keymile.com>
Download mbox | patch
Permalink /patch/213558/
State Accepted
Delegated to: Wolfgang Denk
Headers show

Comments

Holger Brunck - Jan. 18, 2013, 10:28 a.m.
All boards from this serie uses i2c. So we can drop these unneeded
defines.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
---
 board/keymile/km82xx/km82xx.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
Wolfgang Denk - March 9, 2013, 3:05 p.m.
Dear Holger Brunck,

In message <1358504897-6688-2-git-send-email-holger.brunck@keymile.com> you wrote:
> All boards from this serie uses i2c. So we can drop these unneeded
> defines.
> 
> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
> ---
>  board/keymile/km82xx/km82xx.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)

Applied to u-boot-mpc82xx, thanks.

Best regards,

Wolfgang Denk

Patch

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"
 
 /*