[U-Boot-Users] [PATCH] Change GPIO to control the LSB transmitter on lwmon5 board.

From: Sascha Laue sascha.laue@liebherr.com
Signed-off-by: Sascha Laue sascha.laue@liebherr.com --- board/lwmon5/lwmon5.c | 5 +++-- include/configs/lwmon5.h | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/board/lwmon5/lwmon5.c b/board/lwmon5/lwmon5.c index c29dfc1..7bfbb1b 100644 --- a/board/lwmon5/lwmon5.c +++ b/board/lwmon5/lwmon5.c @@ -98,7 +98,8 @@ int board_early_init_f(void) gpio_write_bit(CFG_GPIO_FLASH_WP, 1);
#if CONFIG_POST & CFG_POST_BSPEC1 - gpio_write_bit(CFG_GPIO_HIGHSIDE, 1); + /* enable the LSB transmitter */ + gpio_write_bit(CFG_GPIO_LSB_ENABLE, 1);
reg = 0; /* reuse as counter */ out_be32((void *)CFG_DSPIC_TEST_ADDR, @@ -114,7 +115,7 @@ int board_early_init_f(void) CFG_DSPIC_TEST_MASK); } else { /* dspic ready - disable LSB transmitter */ - gpio_write_bit(CFG_GPIO_HIGHSIDE, 0); + gpio_write_bit(CFG_GPIO_LSB_ENABLE, 0); } #endif
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h index cf406c8..2ad82ed 100644 --- a/include/configs/lwmon5.h +++ b/include/configs/lwmon5.h @@ -521,6 +521,8 @@ #define CFG_GPIO_FLASH_WP 14 #define CFG_GPIO_PHY0_RST 22 #define CFG_GPIO_DSPIC_READY 51 +#define CFG_GPIO_CAN_ENABLE 53 +#define CFG_GPIO_LSB_ENABLE 54 #define CFG_GPIO_EEPROM_EXT_WP 55 #define CFG_GPIO_HIGHSIDE 56 #define CFG_GPIO_EEPROM_INT_WP 57

On Friday 30 May 2008, sascha.laue@liebherr.com wrote:
From: Sascha Laue sascha.laue@liebherr.com
Signed-off-by: Sascha Laue sascha.laue@liebherr.com
Patch does not apply. Seems to depend on other patches from you that are not applied yet. Please number such dependant patches next time using the "-n" option in git-format-patch.
So, please fix and resubmit. Thanks.
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================
participants (2)
-
sascha.laue@liebherr.com
-
Stefan Roese