summaryrefslogtreecommitdiff
path: root/arch/arm/boards/efika-mx-smartbook
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2014-12-23 19:21:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-05 11:35:40 +0100
commit4459cca6c29f45ee09a76f2926b7c6e743eb60bf (patch)
tree40b9d30d107825f9aaba2567a7069478ed793767 /arch/arm/boards/efika-mx-smartbook
parent631be8e6cbe003f469a7e6b54046a743b710d989 (diff)
downloadbarebox-4459cca6c29f45ee09a76f2926b7c6e743eb60bf.tar.gz
efika-mx-smartbook: enable led hearbeat on mail
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/efika-mx-smartbook')
-rw-r--r--arch/arm/boards/efika-mx-smartbook/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/board.c b/arch/arm/boards/efika-mx-smartbook/board.c
index 99efd666f9..4a38afd27b 100644
--- a/arch/arm/boards/efika-mx-smartbook/board.c
+++ b/arch/arm/boards/efika-mx-smartbook/board.c
@@ -246,6 +246,8 @@ static int efikamx_late_init(void)
for (i = 0; i < ARRAY_SIZE(leds); i++)
led_gpio_register(&leds[i]);
+ led_set_trigger(LED_TRIGGER_HEARTBEAT, &leds[0].led);
+
writew(0x0, MX51_WDOG_BASE_ADDR + 0x8);
imx51_bbu_internal_mmc_register_handler("mmc", "/dev/mmc1",