[PATCH 3/3] friendlyarm-tiny210: add heartbeat LED
Alexey Galakhov
agalakhov at gmail.com
Tue Jul 9 11:23:17 EDT 2013
Signed-off-by: Alexey Galakhov <agalakhov at gmail.com>
---
arch/arm/boards/friendlyarm-tiny210/tiny210.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boards/friendlyarm-tiny210/tiny210.c b/arch/arm/boards/friendlyarm-tiny210/tiny210.c
index 18494b0..fb144f5 100644
--- a/arch/arm/boards/friendlyarm-tiny210/tiny210.c
+++ b/arch/arm/boards/friendlyarm-tiny210/tiny210.c
@@ -105,6 +105,8 @@ static int tiny210_devices_init(void)
led_gpio_register(&leds[i]);
}
+ led_set_trigger(LED_TRIGGER_HEARTBEAT, &leds[0].led);
+
armlinux_set_bootparams((void*)S3C_SDRAM_BASE + 0x100);
armlinux_set_architecture(MACH_TYPE_MINI210);
--
1.7.10.4
More information about the barebox
mailing list