public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 1/1] odroid: Turn blue LED on in u-boot
@ 2014-10-09 22:20 Suriyan Ramasami
  2014-10-27 11:35 ` Przemyslaw Marczak
  0 siblings, 1 reply; 4+ messages in thread
From: Suriyan Ramasami @ 2014-10-09 22:20 UTC (permalink / raw)
  To: u-boot

To indicate that u-boot is active turn on the blue LED.

Signed-off-by: Suriyan Ramasami <suriyan.r@gmail.com>
---
 board/samsung/odroid/odroid.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c
index fd5d2d2..391a287 100644
--- a/board/samsung/odroid/odroid.c
+++ b/board/samsung/odroid/odroid.c
@@ -374,6 +374,9 @@ static void board_gpio_init(void)
 	gpio_set_pull(EXYNOS4X12_GPIO_X31, S5P_GPIO_PULL_UP);
 	gpio_set_drv(EXYNOS4X12_GPIO_X31, S5P_GPIO_DRV_4X);
 	gpio_direction_input(EXYNOS4X12_GPIO_X31);
+
+	/* Enable blue LED */
+	gpio_direction_output(EXYNOS4X12_GPIO_C10, 0);
 }
 
 static int pmic_init_max77686(void)
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-28  7:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09 22:20 [U-Boot] [PATCH v1 1/1] odroid: Turn blue LED on in u-boot Suriyan Ramasami
2014-10-27 11:35 ` Przemyslaw Marczak
2014-10-27 18:59   ` Suriyan Ramasami
2014-10-28  7:52     ` Przemyslaw Marczak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox