[U-Boot] [PATCH 1/2] powerpc/82xx/km: make handle_mgcoge3un_reset static

Signed-off-by: Holger Brunck holger.brunck@keymile.com --- board/keymile/km82xx/km82xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/keymile/km82xx/km82xx.c b/board/keymile/km82xx/km82xx.c index 67b69f6..8cf3035 100644 --- a/board/keymile/km82xx/km82xx.c +++ b/board/keymile/km82xx/km82xx.c @@ -370,7 +370,7 @@ static void set_pin(int state, unsigned long mask); * will toggle once what forces the mgocge3un part to restart * immediately. */ -void handle_mgcoge3un_reset(void) +static void handle_mgcoge3un_reset(void) { char *bobcatreset = getenv("bobcatreset"); if (bobcatreset) {

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

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

Dear Holger Brunck,
In message 1358504897-6688-1-git-send-email-holger.brunck@keymile.com you wrote:
Signed-off-by: Holger Brunck holger.brunck@keymile.com
board/keymile/km82xx/km82xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied to u-boot-mpc82xx, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Holger Brunck
-
Wolfgang Denk