summaryrefslogtreecommitdiffstats
path: root/board/compulab/cm_t335/cm_t335.c
diff options
context:
space:
mode:
authorIlya Ledvich <ilya@compulab.co.il>2013-11-07 07:57:34 +0200
committerTom Rini <trini@ti.com>2013-12-04 08:11:26 -0500
commite8ac22be6a6a8544f43ae58d9ef33574a51b5971 (patch)
tree6bc3d3b005bd26a9b272000b4e39dd2762a83856 /board/compulab/cm_t335/cm_t335.c
parent54e7445de9367cde53ff3daa391fddd87e699113 (diff)
downloadblackbird-obmc-uboot-e8ac22be6a6a8544f43ae58d9ef33574a51b5971.tar.gz
blackbird-obmc-uboot-e8ac22be6a6a8544f43ae58d9ef33574a51b5971.zip
cm_t335: add support for status LED
Add support for status LED. Use the STATUS_LED APIs for indicating a boot progress. Signed-off-by: Ilya Ledvich <ilya@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'board/compulab/cm_t335/cm_t335.c')
-rw-r--r--board/compulab/cm_t335/cm_t335.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/compulab/cm_t335/cm_t335.c b/board/compulab/cm_t335/cm_t335.c
index a318962893..01019e8eb2 100644
--- a/board/compulab/cm_t335/cm_t335.c
+++ b/board/compulab/cm_t335/cm_t335.c
@@ -31,6 +31,9 @@ int board_init(void)
gpmc_init();
+#if defined(CONFIG_STATUS_LED) && defined(STATUS_LED_BOOT)
+ status_led_set(STATUS_LED_BOOT, STATUS_LED_OFF);
+#endif
return 0;
}
OpenPOWER on IntegriCloud