[U-Boot] LED Status APIs

Michael Walle michael at walle.cc
Tue May 3 00:01:29 CEST 2011


Hi Wolfgang,

Am Montag 02 Mai 2011, 22:36:22 schrieb Wolfgang Denk:
> Dear Michael Walle,
> 
> In message <201105022219.58458.michael at 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


More information about the U-Boot mailing list