From: Suriyan Ramasami Date: Mon, 24 Nov 2014 06:15:32 +0000 (-0800) Subject: odroid: Turn blue LED on X-Git-Tag: v2015.01-rc3~54^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df96337a536d7d3b2aeb8e20a88774b6eb65195d;p=u-boot odroid: Turn blue LED on To indicate that U-Boot is active, turn on the blue LED. Signed-off-by: Suriyan Ramasami Acked-by: Przemyslaw Marczak Signed-off-by: Minkyu Kang --- diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c index a2c008e76e..b7d23817e1 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");