From: Mike Frysinger Date: Mon, 2 May 2011 18:17:07 -0400 Subject: [U-Boot] LED Status APIs In-Reply-To: <201105030001.29234.michael@walle.cc> References: <201105022219.58458.michael@walle.cc> <20110502203622.94A34151F84@gemini.denx.de> <201105030001.29234.michael@walle.cc> Message-ID: <201105021817.08308.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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