Change GPIO to control the LSB transmitter on lwmon5 board.
PATCH 1/1 Change GPIO to control the LSB transmitter on lwmon5 board.
From: Sascha Laue <[email protected]>
--- board/lwmon5/lwmon5.c | 5 +++-- include/configs/lwmon5.h | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-)
board/lwmon5/lwmon5.c +3 -2
@@ -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
include/configs/lwmon5.h +2 -0
@@ -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
Signature · 1 line
1.5.2.4
PATCH 1/1 Change GPIO to control the LSB transmitter on lwmon5 board.
Quoted 4 lines · sascha.laue at liebherr.com
From: Sascha Laue <[email protected]>
Signed-off-by Sascha Laue <[email protected]>
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 at denx.de
=====================================================================