[U-Boot] LED Status APIs

Wolfgang Denk wd at denx.de
Mon May 2 22:36:22 CEST 2011


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.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
About the use of language: it is impossible to sharpen a pencil  with
a  blunt  ax.  It is equally vain to try to do it with ten blunt axes
instead.                                           -- Edsger Dijkstra


More information about the U-Boot mailing list