[U-Boot] LED Status APIs

Mike Frysinger vapier at gentoo.org
Tue May 3 00:17:07 CEST 2011


On Monday, May 02, 2011 18:01:29 Michael Walle wrote:
> Would it make sense to unify that APIs into a single one? Any thoughts on
> that?

CONFIG_STATUS_LED is the common API people should migrate to

if your LED's are simply connected to a GPIO, and your arch supports the 
generic GPIO framework, then the work is done for you already.  look at the 
logic in include/configs/bf526-ezbrd.h as an example.  that is the only board-
specific code needed.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110502/e6b3c6ee/attachment.pgp 


More information about the U-Boot mailing list