]> git.sur5r.net Git - u-boot/commit
TWL4030: make LEDs selectable for twl4030_led_init()
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 10 Dec 2009 15:10:21 +0000 (17:10 +0200)
committerTom Rix <Tom.Rix@windriver.com>
Mon, 4 Jan 2010 14:48:15 +0000 (08:48 -0600)
commitead39d7aa3ddccb2e374217aeab23bd65cedb762
tree2b112424e3938fef8dd40f1cdeb6cbeac2636a64
parent87d93a1ba2ae23550e1370adb7a3b00af0831165
TWL4030: make LEDs selectable for twl4030_led_init()

Not all boards have both LEDs hooked, so enabling both on
boards with single LED will just waste power. Make it
possible to choose LEDs by adding argument to
twl4030_led_init().

Using this turn on only LEDB for pandora, leave both LEDs
on for all other boards, as it was before this patch.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
board/logicpd/zoom1/zoom1.c
board/logicpd/zoom2/zoom2.c
board/overo/overo.c
board/pandora/pandora.c
board/ti/beagle/beagle.c
board/timll/devkit8000/devkit8000.c
drivers/misc/twl4030_led.c
include/twl4030.h