public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3] odroid: Turn blue LED on
@ 2014-11-24  6:15 Suriyan Ramasami
  2014-11-24  6:58 ` Minkyu Kang
  0 siblings, 1 reply; 2+ messages in thread
From: Suriyan Ramasami @ 2014-11-24  6:15 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>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
---

Changes in v3:
- Minkyu Kang, Rebase

Changes in v2:
- Przemyslaw Marczak, Add gpio_request call.

Changes in v1:
- First try

 board/samsung/odroid/odroid.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c
index a2c008e..b7d2381 100644
--- a/board/samsung/odroid/odroid.c
+++ b/board/samsung/odroid/odroid.c
@@ -383,6 +383,11 @@ static void board_gpio_init(void)
 	gpio_set_drv(EXYNOS4X12_GPIO_X31, S5P_GPIO_DRV_4X);
 	gpio_direction_input(EXYNOS4X12_GPIO_X31);
 
+	/* Blue LED (Odroid X2/U2/U3) */
+	gpio_request(EXYNOS4X12_GPIO_C10, "Blue LED");
+
+	gpio_direction_output(EXYNOS4X12_GPIO_C10, 0);
+
 #ifdef CONFIG_CMD_USB
 	/* USB3503A Reference frequency */
 	gpio_request(EXYNOS4X12_GPIO_X30, "USB3503A RefFreq");
-- 
1.8.3.1

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

* [U-Boot] [PATCH v3] odroid: Turn blue LED on
  2014-11-24  6:15 [U-Boot] [PATCH v3] odroid: Turn blue LED on Suriyan Ramasami
@ 2014-11-24  6:58 ` Minkyu Kang
  0 siblings, 0 replies; 2+ messages in thread
From: Minkyu Kang @ 2014-11-24  6:58 UTC (permalink / raw)
  To: u-boot

On 24/11/14 15:15, Suriyan Ramasami wrote:
> To indicate that U-Boot is active, turn on the blue LED.
> 
> Signed-off-by: Suriyan Ramasami <suriyan.r@gmail.com>
> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
> ---
> 
> Changes in v3:
> - Minkyu Kang, Rebase
> 
> Changes in v2:
> - Przemyslaw Marczak, Add gpio_request call.
> 
> Changes in v1:
> - First try
> 
>  board/samsung/odroid/odroid.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 

applied to u-boot-samsung.

Thanks,
Minkyu Kang.

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

end of thread, other threads:[~2014-11-24  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24  6:15 [U-Boot] [PATCH v3] odroid: Turn blue LED on Suriyan Ramasami
2014-11-24  6:58 ` Minkyu Kang

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