]> git.dujemihanovic.xyz Git - u-boot.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)
committerTom Rini <trini@konsulko.com>
Thu, 23 Apr 2015 13:43:08 +0000 (09:43 -0400)
commita8eeaf2f7a9c3326cba5b1780b1a38f70c6c1f37
treef1356df3305111f9869b57b789eda0450391d582
parentab93bf063bad1f82ccc727c55b8e2133a97c81f1
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