]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
led: Remove state-saving of led for toggle functionality and add toggle option to...
authorJoel A Fernandes <agnel.joel@gmail.com>
Fri, 12 Aug 2011 04:16:53 +0000 (23:16 -0500)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 4 Sep 2011 09:36:22 +0000 (11:36 +0200)
commitb8bc8973a1830bb92e7a9bf3356dc209afb2f4e8
tree7c9bd231a53779327ec4fd06afaff2f61ad7f885
parentd604cda34ab2190fb07a1134bb488105e1a2f9c3
led: Remove state-saving of led for toggle functionality and add toggle option to led command

* Read the led output state from GPIO instead saving state in memory when it is [re]set
* Added a toggle option to the led command

Previous discussion:
http://lists.denx.de/pipermail/u-boot/2011-May/093068.html

Changes since v1:
Fixed checkpatch errors

Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
board/ti/beagle/led.c
common/cmd_led.c