mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
siemens: change LED indication in DFU mode
In order to have the same LED indication like in another product when ready for updating, enable only red led and disable status LED when entering DFU mode. The status LED is only switched off when defined in board file. Signed-off-by: Samuel Egli <samuel.egli@siemens.com> Cc: Roger Meier <r.meier@siemens.com> Cc: Heiko Schocher <hs@denx.de> Cc: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
111c8e4093
commit
84112b5171
2 changed files with 7 additions and 2 deletions
|
@ -24,7 +24,8 @@
|
|||
#undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
|
||||
|
||||
#define BOARD_DFU_BUTTON_GPIO 27
|
||||
#define BOARD_DFU_BUTTON_LED 64
|
||||
#define BOARD_DFU_BUTTON_LED 64 /* red LED */
|
||||
#define BOARD_STATUS_LED 103 /* green LED */
|
||||
#define GPIO_LAN9303_NRST 88 /* GPIO2_24 = gpio88 */
|
||||
|
||||
#undef CONFIG_DOS_PARTITION
|
||||
|
|
|
@ -402,7 +402,11 @@
|
|||
"dfu_args=run bootargs_defaults;" \
|
||||
"setenv bootargs ${bootargs} ;" \
|
||||
"mtdparts default; " \
|
||||
"dfu 0 nand 0; \0" \
|
||||
"led dfu 1;" \
|
||||
"led stat 0;" \
|
||||
"dfu 0 nand 0;" \
|
||||
"led dfu 0;" \
|
||||
"led stat 1;\0" \
|
||||
"dfu_alt_info=" DFU_ALT_INFO_NAND "\0" \
|
||||
"net_args=run bootargs_defaults;" \
|
||||
"mtdparts default;" \
|
||||
|
|
Loading…
Reference in a new issue