From: Michael Walle Date: Tue, 3 May 2011 00:01:29 +0200 Subject: [U-Boot] LED Status APIs In-Reply-To: <20110502203622.94A34151F84@gemini.denx.de> References: <201105022219.58458.michael@walle.cc> <20110502203622.94A34151F84@gemini.denx.de> Message-ID: <201105030001.29234.michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, Am Montag 02 Mai 2011, 22:36:22 schrieb Wolfgang Denk: > Dear Michael Walle, > > In message <201105022219.58458.michael@walle.cc> you wrote: > > i'm currently developing a BSP for the Buffalo LS-XHL (ARM based) and > > stumble across the two LED APIs. > > > > Is there any particular reason to have two different APIs? I guess an ARM > > BSP has to support both? Eg. the 'classic status API' is used in > > cmd_ide.c for example and the ARM one is used in arm startup code. > > Actually none of them is really needed. If you don't have any > explicit requirements to provide certain feedback or status > information though LEDs, then just omit this alltogether. I certainly need some indicator because the board doesn't have any serial output. Would it make sense to unify that APIs into a single one? Any thoughts on that? -- Michael