]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cmd_led: Extend led command to support blinking and more leds
authorStefan Roese <sr@denx.de>
Wed, 11 Mar 2015 08:51:39 +0000 (09:51 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:30:14 +0000 (22:30 +0200)
commitbd62638ac5e5ebb1c26869dd167953dab5a6b959
tree27bee60cc881f5cc28bc55793e3d1f03dd025f6b
parent5c694865046753aff446a1f2f73fd17de73ab065
cmd_led: Extend led command to support blinking and more leds

This patch extends the U-Boot "led" command to support automatic blinking
by setting a blink frequency in milliseconds. Additionally the number of
supported LEDs is increased to 6 (0...5).

This will be used by the PCA9551 LED driver.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/cmd_led.c
drivers/misc/status_led.c
include/status_led.h