[U-Boot] [PATCH 8/8] dm: led: Add a new 'led' command
Tom Rini
trini at konsulko.com
Fri Apr 7 16:56:06 UTC 2017
On Fri, Mar 31, 2017 at 11:55:05AM -0600, Simon Glass wrote:
> When driver model is used for LEDs, provide a command to allow LED access.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
[snip]
> +static const char *const state_label[] = {
> + [LEDST_OFF] = "off",
> + [LEDST_ON] = "on",
> + [LEDST_TOGGLE] = "toggle",
> + [LEDST_BLINK] = "blink",
If I recall some tinkering right, "most" LEDs we have available in
U-Boot don't support blinking directly but rather get blinked in a real
OS with timers to toggle them. So can we make blink optional so that
only when we'd be using it do we get the size increase? Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170407/12b665c1/attachment.sig>
More information about the U-Boot
mailing list