USR0 is set with STATUS_LED_BIT and USR1 is set with STATUS_LED_BIT1.
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
USR0 is set with STATUS_LED_BIT and USR1 is set with STATUS_LED_BIT1.
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
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.
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Added LED driver using status_led. USR0 is set to monitor the boot
status. USR1 is set to be the GREEN LED.
To simplify booting into various boot configurations, there is now a
test for an existing ramdisk.gz image if loading the boot script fails.
Adding additional boot arguments can also be done using optargs.
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>