[U-Boot] [PATCH] AT91: Add support for blue_LED_* and add coloured_LED_init to at91/led.c

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Aug 12 23:15:26 CEST 2009


On 18:10 Wed 12 Aug     , Albin Tonnerre wrote:
> Currently, at91/led.c only provides _on and _off functions for green,
> yellow and red LEDs. This patch provides a generic coloured_LED_init
> function, which is a first step towards getting rid of the
> board-specific (and duplicated) board/*/*/led.c files on at91
> This patch alos adds similar support for blue LEDs, mostly for the sake
> of completeness.
> 
we do need to stop adding more and more specific led api
we do need to have a common api that we can use on any arch for c & asm

Best Regards,
J.


More information about the U-Boot mailing list