Skip to content
Commit b8bc8973 authored by Joel A Fernandes's avatar Joel A Fernandes Committed by Albert ARIBAUD
Browse files

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: default avatarJoel A Fernandes <agnel.joel@gmail.com>
Signed-off-by: default avatarJason Kridner <jkridner@beagleboard.org>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent d604cda3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment