summaryrefslogtreecommitdiff
path: root/board/logicpd/zoom1
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2009-12-10 15:10:21 (GMT)
committerTom Rix <Tom.Rix@windriver.com>2010-01-04 14:48:15 (GMT)
commitead39d7aa3ddccb2e374217aeab23bd65cedb762 (patch)
tree2b112424e3938fef8dd40f1cdeb6cbeac2636a64 /board/logicpd/zoom1
parent87d93a1ba2ae23550e1370adb7a3b00af0831165 (diff)
downloadu-boot-fsl-qoriq-ead39d7aa3ddccb2e374217aeab23bd65cedb762.tar.xz
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>
Diffstat (limited to 'board/logicpd/zoom1')
-rw-r--r--board/logicpd/zoom1/zoom1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/logicpd/zoom1/zoom1.c b/board/logicpd/zoom1/zoom1.c
index a144f52..e442d68 100644
--- a/board/logicpd/zoom1/zoom1.c
+++ b/board/logicpd/zoom1/zoom1.c
@@ -63,7 +63,7 @@ int board_init(void)
int misc_init_r(void)
{
twl4030_power_init();
- twl4030_led_init();
+ twl4030_led_init(TWL4030_LED_LEDEN_LEDAON | TWL4030_LED_LEDEN_LEDBON);
dieid_num_r();
/*