From: Tom Rini Date: Fri, 7 Apr 2017 12:56:06 -0400 Subject: [U-Boot] [PATCH 8/8] dm: led: Add a new 'led' command In-Reply-To: <20170331175506.29079-9-sjg@chromium.org> References: <20170331175506.29079-1-sjg@chromium.org> <20170331175506.29079-9-sjg@chromium.org> Message-ID: <20170407165606.GM19897@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 [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: