15 Oct, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
08 Mar, 2013
1 commit
-
This fixes the gpio_led driver which needs to compare againt a
STATUS_LED_ON to enable a led.Signed-off-by: Otavio Salvador
07 Dec, 2012
1 commit
-
Current "led" help and usage info has redundancy and extraneous
newlines, tweak it to be consistent with other commands.Signed-off-by: Robert P. J. Day
07 Mar, 2012
1 commit
-
Change all files in common/ to use CMD_RET_USAGE instead of calling
cmd_usage() directly. I'm not completely sure about this patch since
the code since impact is small (100 byte or so on ARM) and it might
need splitting into smaller patches. But for now here it is.Signed-off-by: Simon Glass
13 Sep, 2011
1 commit
-
Result of running the following command to address Wolfgang's
comment about camel case:for file in `find . | grep '\.[chS]$'`; do perl -i -pe
's/(green|yellow|red|blue)_LED_(on|off)/$1_led_$2/g' $file; doneDiscussion:
http://patchwork.ozlabs.org/patch/84988/Signed-off-by: Jason Kridner
Signed-off-by: Joel A Fernandes
Signed-off-by: Sandeep Paulraj
04 Sep, 2011
4 commits
-
* Read the led output state from GPIO instead saving state in memory when it is [re]set
* Added a toggle option to the led commandPrevious discussion:
http://lists.denx.de/pipermail/u-boot/2011-May/093068.htmlChanges since v1:
Fixed checkpatch errorsSigned-off-by: Joel A Fernandes
Signed-off-by: Jason Kridner
Signed-off-by: Sandeep Paulraj -
Fix for only one led getting set or reset when the led_name is 'all'
Previous discussion:
http://lists.denx.de/pipermail/u-boot/2011-May/093068.htmlChanges since v1:
Fixed checkpatch if statement error noticed by Sergei.Signed-off-by: Joel A Fernandes
Signed-off-by: Jason Kridner
Cc: Sergei Shtylyov
Signed-off-by: Sandeep Paulraj -
Although the initialization should probably be done with names, the
existing implementation has these structures filled in the opposite
order.Signed-off-by: Jason Kridner
Signed-off-by: Koen Kooi
Signed-off-by: Joel A Fernandes
Signed-off-by: Sandeep Paulraj -
Signed-off-by: Jason Kridner
Signed-off-by: Koen Kooi
Signed-off-by: Joel A Fernandes
Signed-off-by: Sandeep Paulraj
20 May, 2011
1 commit
-
Signed-off-by: Wolfgang Denk
28 Apr, 2011
1 commit
-
This patch allows any board implementing the coloured LED API
to control the LEDs from the console.led [green | yellow | red | all ] [ on | off ]
or
led [ 1 | 2 | 3 | all ] [ on | off ]
Adds configuration item CONFIG_CMD_LED enabling the command.
Partially based on patch from Ulf Samuelsson:
http://www.mail-archive.com/u-boot@lists.denx.de/msg09593.html.Updated based on feedback:
http://www.mail-archive.com/u-boot@lists.denx.de/msg41847.html
https://groups.google.com/d/topic/beagleboard/8Wf1HiK_QBo/discussion
* Fixed a handful of style issues.
* Significantly reduced the number of #ifdefs and redundant code
* Converted redundant code into loops test against a structure
* Made use of cmd_usage()
* Introduced a str_onoff() function, but haven't yet put it in common
* Eliminated trailing newlineSigned-off-by: Jason Kridner
Signed-off-by: Sandeep Paulraj