summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuriyan Ramasami <suriyan.r@gmail.com>2014-11-23 22:15:32 -0800
committerMinkyu Kang <mk7.kang@samsung.com>2014-11-24 15:53:34 +0900
commitdf96337a536d7d3b2aeb8e20a88774b6eb65195d (patch)
treebf5c70a44c3e77ccc28a43e1a226b7c6976aeabb
parentf2cca34245c119cc7fe3cf48646e31133a1bdffe (diff)
downloadu-boot-imx-df96337a536d7d3b2aeb8e20a88774b6eb65195d.zip
u-boot-imx-df96337a536d7d3b2aeb8e20a88774b6eb65195d.tar.gz
u-boot-imx-df96337a536d7d3b2aeb8e20a88774b6eb65195d.tar.bz2
odroid: Turn blue LED on
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> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--board/samsung/odroid/odroid.c5
1 files changed, 5 insertions, 0 deletions
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");